Commit graph

82 commits

Author SHA1 Message Date
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
Tom Hughes
5bc80823ec Tidy up RSS links a bit. 2008-04-23 17:39:09 +00:00
Tom Hughes
840a402031 Tidy up template. 2008-04-23 13:15:04 +00:00
Richard Fairhurst
1b591df0bc warn if user tries to upload 8bn traces at once 2008-04-23 11:57:01 +00:00
Richard Fairhurst
1878369474 permit uninserted tracks to be edited 2008-03-30 00:27:29 +00:00
Tom Hughes
58082d128a Fix typo. 2008-03-04 21:24:14 +00:00
Tom Hughes
789c6343d9 Yet more escaping. 2008-03-04 17:57:51 +00:00
Tom Hughes
8225f0a6ea Reenable trace uploads. 2007-12-01 00:34:55 +00:00
Tom Hughes
52276be4a9 Disable GPX uploads. 2007-11-30 18:49:55 +00:00
Tom Hughes
6d6c9ddc8c Specify display_name and tag explicitly when generating pagination links
as they don't always seem to be default correctly. Closes #561.
2007-11-30 01:27:14 +00:00
Tom Hughes
3db4ac9a8e Improve consistency of trace upload forms and error handling.
Fixes #543 and #544.
2007-09-25 23:18:32 +00:00
Tom Hughes
868ce8d467 Allow trace descriptions and tags to be edited. 2007-09-23 17:05:31 +00:00
Richard Fairhurst
1fcd5f5593 Potlatch v0.2a: display GPS traces, some bugfixes 2007-09-12 10:07:26 +00:00
Dan Karran
9554ef289e Adding geo microformat to trace viewing pages. 2007-09-03 22:40:04 +00:00
Tom Hughes
11bd2a4ddc Link trace owner to their user page. 2007-08-26 23:04:17 +00:00
Tom Hughes
d274c0e3d8 Put the option to delete GPS traces back. Fixes #405. 2007-08-22 18:01:23 +00:00
Tom Hughes
a0962c03c0 Set the display name correctly in the image URL. 2007-08-20 14:18:22 +00:00
Tom Hughes
08b71b48e1 Tidy up trace handling a bit, and add support for per-user and per-tag feeds. 2007-08-15 18:10:18 +00:00
Tom Hughes
b62561cdb5 Fix tag links. 2007-08-14 23:45:25 +00:00