Tom Hughes
5eb21cc2da
Fix form_for arguments
2011-11-14 09:42:52 +00:00
Tom Hughes
7901815718
Use symbols consistently for names of content blocks
2011-11-14 09:42:43 +00:00
Tom Hughes
ed54379218
Make helpers return text instead of appending to the output buffer
2011-11-14 09:42:42 +00:00
Tom Hughes
22594361d5
Mark some strings that shouldn't be escaped as raw
2011-11-14 09:42:41 +00:00
Tom Hughes
b25a468e3c
Use <%= instead of <% for block helpers that use concat
2011-11-14 09:42:41 +00:00
Tom Hughes
6b8beb7d1a
More work on moving styles out of line and extending RTL support
2011-07-02 17:10:56 +01:00
Tom Hughes
d075fc4c1f
Lots more work on making RTL layout work
2011-07-02 01:00:51 +01:00
Tom Hughes
db9420ba57
Make "all traces" and "your traces" links more consistent
...
Make sure we always show the "all traces" and "your traces" links
in the same place and that they don't accidentally inherit parameter
values that we don't really want.
Based on work by Andrzej Zaborowski <balrog@zabor.org>.
2011-05-13 10:06:16 +01:00
Tom Hughes
f07819d81a
Rework application configuration
...
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.
The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Tom Hughes
9f83acfb44
Move the trace upload form from the list to a create trace page
2010-07-22 21:00:39 +01:00
Tom Hughes
b551fef0b7
Present "too many pending traces" message as a warning box
2010-07-22 20:47:34 +01:00
Tom Hughes
5a2ffa227c
Convert trace views to use CSS based user specific components
2010-07-22 20:47:29 +01:00
Tom Hughes
318c7a9854
Tidy up the stylesheets, removing lots of ancient, unused junk and
...
trying to group everything else together in more logical fashion.
2010-03-03 15:46:16 +00:00
Tom Hughes
9d35062ba3
Add a "friendly" date/time format and use it whenever we are printing
...
dates and times on the web site.
Also try and improve formatting of message pages a but, and include the
image of the recipient when viewing a sent message.
2010-02-28 16:57:22 +00:00
Tom Hughes
62e7006a21
Rework the pagination of the trace list to avoid having to count
...
the total number of matching records/pages.
2010-01-14 00:35:09 +00:00
Tom Hughes
e53b34b80a
Make traces/mine redirect to the user's traces page instead of rendering
...
it itself. Also make sure the traces page for a user includes the upload
form if the requestor is logged in as that user.
2010-01-10 09:16:18 +00:00
Shaun McDonald
1df4ad819c
Rather than just say public or private for each GPS trace in the list, instead state the new permission levels. Green colour means that it will be shown in the trace list to other users. Red means that other users won't see the trace in the list. Have added two new translations for the other trace permissions.
2009-12-31 00:10:10 +00:00
Tom Hughes
0f5646d7f0
Add ability to take GPX storage offline.
2009-12-12 13:06:56 +00:00
Tom Hughes
565171486f
Add extra visibility options for GPS traces, and enhance the API call
...
that returns trace data to return more information if the owner of the
trace has allowed it. Based on a patch from Matt Amos.
2009-08-13 17:06:11 +00:00
Štefan Baebler
dcbb319015
added brief help for tag entry, continuing on #2032
2009-07-09 06:11:24 +00:00
Tom Hughes
0b6f0c1d34
Use join to construct tag strings instead of mucking around counting
...
position in the string.
2009-07-07 23:05:35 +00:00
Štefan Baebler
ebbcf63f0d
Introducing comma as tag separator (if present, otherwise it behaves as before), allowing spaces in tags. fixes #2032
2009-07-07 22:05:03 +00:00
Tom Hughes
2112dd7f63
Make the "what does this mean" link added in r16069 more like similar
...
notes on other forms.
2009-06-24 11:50:41 +00:00
Tom Hughes
b1ada7b9d6
Put back HTML escaping of trace names removed in r16062.
2009-06-24 11:41:26 +00:00
Ævar Arnfjörð Bjarmason
7551e8a0c1
Add a link to [[Visibility of GPS traces]] on the wiki to explain what public/private means. Solves ticket:1002
2009-06-23 01:27:40 +00:00
Ævar Arnfjörð Bjarmason
9e504a0b33
'trace.tags.none' was never displayed because the empty list ([]) is true in ruby. Use trace.tags.empty?
...
Wrap 'trace.tags.none' in <i> to make it obvious that "none" is a system-generated value
2009-06-23 00:02:35 +00:00
Ævar Arnfjörð Bjarmason
cc3faefa46
* Changed "t'trace.edit.start_coord' %>Start coordinate:" to "t'trace.edit.start_coord' %>"
...
* "map" was untranslatable
2009-06-22 23:47:49 +00:00
Ævar Arnfjörð Bjarmason
dfadcc797c
Fixed up the <title>/<h2> mess in trace/edit and trace/view
...
* @title was never set on trace editing, and thus <h2></h2> was produced
* Changed split 'trace.view.viewing_trace' into 'trace.view.title' and 'trace.view.heading'
* Introduced corresponding 'trace.edit.title' and 'trace.edit.heading'
2009-06-22 23:43:53 +00:00
Ævar Arnfjörð Bjarmason
17e9016373
"download" in edit trace was untranslatable
2009-06-22 23:27:11 +00:00
Ævar Arnfjörð Bjarmason
a268dbbff0
trace.edit.tags and trace.edit.save_button were mistakenly in the locale files but not actually used. fixed this
2009-06-22 23:20:53 +00:00
Štefan Baebler
1de54dc135
localizable timestamps
2009-06-10 05:24:39 +00:00
Tom Hughes
2e2f212472
Rename views to rails 2 style names.
2009-06-09 20:50:14 +00:00
Ævar Arnfjörð Bjarmason
e72f35f8d9
Make URL that link to the OSM Wiki configurable by translations. A lot
...
of these pages have been translated into other languages and users
using other languages would want to visit those in preference to the
English version.
2009-06-06 21:36:49 +00:00
Ævar Arnfjörð Bjarmason
db51d7f3dd
Added & cleaned up messages relating to a given user not existing
...
The following pages now have a <title> that can be set in localizations:
* /user/USER_DOES_NOT_EXIST
* /user/USER_DOES_NOT_EXIST/diary
* /user/USER_DOES_NOT_EXIST/traces
* /message/*/ID_DOES_NOT_EXIST
In addition I've cleaned up the i18n message keys of all the
''no_such_user.rhtml'' pages involved. They now all use
title/heading/body for the <title>, <h2> and <p> respectively. And the
message key {{user}} instead of {{name}}.
2009-06-06 13:15:53 +00:00
Shaun McDonald
698a49077c
Add some more missing translations. Use .to_sentence instead of .join(', ') so that it is localisable and is more readable.
2009-06-02 16:07:52 +00:00
Ævar Arnfjörð Bjarmason
e70e2dbe9f
Change /index.php/ in wiki.openstreetmap.org links to /wiki/. This looks nicer
2009-06-02 12:23:37 +00:00
Tom Hughes
8de0c9dd22
Make the "map" link on the traces page translatable.
2009-06-01 23:07:24 +00:00
Jenny Herbert
a53a30d37a
Added translations to trace_paging_nav
2009-05-31 15:13:43 +00:00
Jenny Herbert
32c0a7e5a8
Added tranlations to trace/_trace
2009-05-31 15:01:41 +00:00
Andy Allan
c30f141f4b
more trace i18n
2009-05-31 14:25:19 +00:00
Jenny Herbert
ec9deb5dc2
Added translates to trace/view
2009-05-31 14:20:20 +00:00
Andy Allan
4766cccb54
fix bugs in translation
2009-05-31 13:56:56 +00:00
Andy Allan
1b1b1b2f57
Committing first of trace view i18n untested
2009-05-31 13:25:56 +00:00
Thomas Wood
e8c7543bdd
Add condition for user not found in trace controller.
...
Closes #1710
2009-04-19 21:22:34 +00:00
Tom Hughes
a68b8651d5
Handle MySQL/Postgres boolean differences.
2009-04-16 21:16:09 +00:00
Tom Hughes
bddb7dd8f9
Put auto discovery links in the document head.
2009-03-06 14:27:40 +00:00
Shaun McDonald
a5336e68a3
Show whether a trace is public or private in the trace list, so that a user can easily find traces that are private, when they really wanted them to be public. Only show 'in ...tags...', if there are some tags. Improve indentation.
2008-07-23 14:33:45 +00:00
Tom Hughes
9f8600877b
Stop rails moaning.
2008-07-18 21:42:13 +00:00
Shaun McDonald
955122e412
Replacing the non existant image with a pending text on the trace page
2008-06-10 17:17:32 +00:00
Tom Hughes
15e64474e4
Unbreak Richard's warning messages. Closes #864 .
2008-04-25 09:04:56 +00:00