Tom Hughes
817434a2e6
Rework the translatable map key to be driven by a YAML file listing the
...
entries to show for each layer and zoom level.
2009-06-24 23:30:41 +00:00
Ævar Arnfjörð Bjarmason
0e530b0a0d
Remove the third param to showKeyEntry(). Not used yet.
2009-06-24 07:15:18 +00:00
Ævar Arnfjörð Bjarmason
079b9fed84
Change the map key from a static PNG image to a generated HTML table that can be translated. Solves ticket:1916
2009-06-23 12:04:06 +00:00
Tom Hughes
2e2f212472
Rename views to rails 2 style names.
2009-06-09 20:50:14 +00:00
Ævar Arnfjörð Bjarmason
0b84885cfc
Make the name of the "Data" layer in OpenLayers translatable: Most of
...
the OL dialog is still stuck in map.js and untranslatable though.
2009-06-08 18:10:17 +00:00
Ævar Arnfjörð Bjarmason
a50d61c7ba
Revert [15752]: The duplication of content intentional for dead-tree
...
printouts, which I didn't consider. Oops! Thanks TomH :)
2009-06-07 23:42:26 +00:00
Shaun McDonald
32b422aefb
Make some links more rails like, thus easier to read. Test that partials are included as expected.
2009-06-07 21:45:33 +00:00
Ævar Arnfjörð Bjarmason
91bc3c9244
Add a tooltip to help & wiki/news blog/shop/map key
2009-06-07 20:33:13 +00:00
Ævar Arnfjörð Bjarmason
93a810f690
Should have been part of [15755]: Cursed vc-dir interface
2009-06-07 20:01:29 +00:00
Ævar Arnfjörð Bjarmason
86a0ba0172
The display:none attribution table looks horrid in text browsers
...
(e.g. w3m). And there's no reason to include plain URLs to CC-BY-SA
and OSM *AND* mention both in the message below without including any
links.
Instead erase those links and work them into the message instead.
2009-06-07 17:08:25 +00:00
Tom Hughes
52bfc5a905
Update key when the zoom changes, even if the language is not english.
2009-06-05 18:06:38 +00:00
Tom Hughes
c372f6cc18
Set the OpenLayers locale when creating a map.
2009-06-04 20:37:59 +00:00
Tom Hughes
b7aa25947e
Reinstate IE test and pass result to flash.
2009-06-03 09:33:41 +00:00
Tom Hughes
972363baf6
Removed test for IE as we don't use the result anymore.
2009-06-03 09:18:20 +00:00
Tom Hughes
4a93c5de4b
Issue unsaved changes alerts on IE.
2009-06-03 09:17:29 +00:00
Tom Hughes
d5d6698fae
Translate heading for map key sidebar (uses existing site.map.map_key
...
translation). Closes #1905 .
2009-06-02 13:33:18 +00:00
Tom Hughes
6254853c5c
Add a few missing translations. Closes #1903 .
2009-06-02 12:02:21 +00:00
Tom Hughes
f5fa16c24f
Give location cookie a 10 year expiry.
2009-06-01 13:54:44 +00:00
Shaun McDonald
486803f84b
Typo in site key. More of the user view i18n'ed
2009-05-29 15:44:27 +00:00
Shaun McDonald
3a51160a5b
i18n'ed the site set of views.
2009-05-29 11:42:11 +00:00
Shaun McDonald
9985b9cb94
Reverting earlier change that means that zoom isn't set in certain code paths.
2009-05-21 23:20:46 +00:00
Shaun McDonald
961020a5dc
allow the user to pass in a gpx and a zoom
2009-05-21 17:25:39 +00:00
Thomas Wood
600d5b3a46
Further clarify descriptive texts regarding public editing.
2009-04-27 18:23:43 +00:00
Richard Fairhurst
64d076847b
fix another way-node/Way-Node problem in amf_controller; add WinIE JS compatibility via ExternalInterface (we can use this later to alert for a commit message if none is provided)
2009-04-23 17:54:17 +00:00
Harry Wood
1c93d482d2
change updatelinks params so that Potlatch can pass in the view bbox. Also check if it's missing. closes #1738
2009-04-23 14:38:40 +00:00
Thomas Wood
c29c7cd56c
Fix map in IE by deferring Vector layer addition to page load (note that deferred script running is _not_ the same as onload), also only add the Vector layer as required, so to save some overhead.
...
I've trimmed down the unrequired options on the layer, they're defaulted from the map.
Thanks firefishy for the report.
2009-04-19 21:03:41 +00:00
Tom Hughes
5449cf4adc
Merge 14394:14533 from trunk.
2009-04-16 21:11:12 +00:00
Tom Hughes
09fdee5493
Add a "database readonly" state that allows all writes to the database
...
to be suppressed.
2009-04-14 14:27:30 +00:00
Harry Wood
fdd5d2d779
new support for box=yes param on the homepage, and then link to this from various changeset display
2009-04-08 16:55:22 +00:00
Tom Hughes
1f8a68371a
Merge 14059:14394 from trunk.
2009-04-08 13:53:09 +00:00
Harry Wood
c321c026f2
tweak lat lon decision logic for the edit tab. made it more similar to logic in index, including using cookie
2009-04-02 18:08:46 +00:00
Harry Wood
bf0d8b3a5e
lose the unnecessary <% embed syntax %>
2009-04-02 17:19:33 +00:00
Tom Hughes
72dfc2e55e
Use correct key for z15 and greater.
2009-03-29 16:23:07 +00:00
Harry Wood
afe8dd51ec
Add 'history' tab + Move 'recent changes' changeset list to re-use the same _changeset.rhtml partial
2009-03-23 16:39:59 +00:00
Harry Wood
231bdf66cd
lose the unneeded <% syntax %>
2009-03-20 12:05:00 +00:00
Tom Hughes
8c8bb42cf6
Put the escapes back again.
2009-02-13 12:33:54 +00:00
Tom Hughes
faa1a48250
Removed bogus backslash escape.
2009-02-11 00:18:10 +00:00
Tom Hughes
a2d8f51827
Remove bogus backslash escape.
2009-02-11 00:10:36 +00:00
Tom Hughes
56065cd154
Remove excessive indenting - tabs are bad people!
2009-02-11 00:09:58 +00:00
Paul Gillard
3f30bc53f5
Ensure homepage source validates.
2009-02-10 22:42:45 +00:00
Richard Fairhurst
97726826e1
Potlatch 0.10d
2008-10-05 00:21:35 +00:00
Tom Hughes
c2854a8056
Get rails to do asset tagging for the SWF file.
2008-09-25 03:58:18 +00:00
Richard Fairhurst
62a1ec4748
Potlatch 0.10
2008-07-09 22:19:48 +00:00
Tom Hughes
abb66fa808
Disable the data browswer when the database is not available.
2008-06-26 17:36:21 +00:00
Tom Hughes
960d13488a
Merge 7922:8377 from trunk.
2008-06-22 12:23:43 +00:00
Tom Hughes
2cf15b549e
Add support for putting the site in an offline mode where it operates
...
without a database but with most features disabled.
2008-06-22 12:10:32 +00:00
Tom Hughes
cdf12b7a33
Don't use comma to separate values in the location cookie, as rails 2.0.2 will
...
treat comma (as well as semicolon) as a cookie separate. Also change the name
of the location cookie to avoid problems parsing old ones.
2008-06-05 23:27:52 +00:00
Tom Hughes
2829bf79d0
Cope with not having a layer configuration at all.
2008-06-03 15:12:46 +00:00
Tom Hughes
c25a20ff13
Don't try and parse an empty string as a layer config, and cope a bit
...
better if we do hit the end of the string. Closes #942 .
2008-06-02 12:45:24 +00:00
Tom Hughes
88105d9c64
Merge 7744:7922 from trunk.
2008-05-28 16:37:31 +00:00