Andy Allan
613b748c55
Avoid lego translations for coordinates
...
Use the i18n system for joining coordinate values together, while
avoiding making any changes or standardisation involving the exact
symbol used in each situation.
Refs #2732
2020-08-19 16:43:16 +02:00
Andy Allan
8d2271699b
Use bootstrap_form as the formbuilder for GPX upload form
...
This also uses the recommended bs-custom-file-input javascript plugin
for the file input control.
2020-07-01 17:23:02 +02:00
Andy Allan
627f2493fa
Refactor away from global form control styling
...
This enables forms to be converted one-by-one to bootstrap. Without this
refactoring, these global styles interfere with form control styling from
bootstrap.
The rearrangement of the search and directions styling is to solve CSS selector specitivity issues.
2020-07-01 17:23:02 +02:00
Tom Hughes
6ad0340b05
Localise formatting of point count for traces
...
Fixes #2592
2020-04-15 22:42:41 +01:00
Andy Allan
055a976051
Remove custom table styling
...
This removes the custom table styling code, and move to using bootstrap table styling for almost all remaining tables.
2020-04-01 12:29:01 +02:00
Andy Allan
b8c1bbb4f8
Remove unnecessary h() calls on model attributes
...
These were necessary in the rails 2.x era, but not now.
2020-03-18 14:33:30 +01:00
Tom Hughes
a570f59187
Merge remote-tracking branch 'upstream/pull/2494'
2020-01-05 18:51:42 +00:00
Andy Allan
53f2c36f1d
Use ActionView's safe_join to avoid using raw when joining arrays of text
2020-01-02 18:07:23 +01:00
Andy Allan
1ff7e3ac71
Replace custom css class with bootstrap inline utility
...
This has actually been broken since the controller was renamed,
but nobody noticed.
2019-12-19 19:31:52 +01:00
Andy Allan
a3e3be007e
Use text-danger style for pending trace warning
2019-12-19 19:15:36 +01:00
Tom Hughes
86b355c4df
Use delete method correctly when deleting traces
...
Fixes #2453
2019-12-04 21:06:19 +00:00
Andy Allan
44c6fdc273
Use the conventional 'destroy' method name for destroying traces
2019-12-04 11:59:18 +01:00
Tom Hughes
3af16f6337
erblint: fix remaining single quoted strings
2019-03-27 16:15:19 +00:00
Andy Allan
74b91c0e3e
erblint: Add or remove curly braces around hash parameters as required
2019-03-27 10:30:48 +01:00
Andy Allan
bbd44f8099
Whitespace fixes in traces erb files
2019-03-26 20:23:35 +00:00
Tom Hughes
141df02e67
Move status into the settings object
...
Only the very early boot code needs to look at the value
from the environment directly.
2019-03-17 11:15:34 +00:00
Andy Allan
44217775f0
Rename i18n keys track->trace
2018-08-29 17:59:58 +08:00
Andy Allan
d0089f0ce8
Rename traces#list to traces#index
2018-08-29 17:58:37 +08:00
Andy Allan
16fef14b61
Rename traces#view to traces#show
2018-08-29 17:43:38 +08:00