Commit graph

173 commits

Author SHA1 Message Date
Tom Hughes
8acdba8bdd Upgrade to rails 3.1.0 2011-11-14 09:42:52 +00:00
Tom Hughes
49a45b1c52 Fix escaping of unicode character in edit menu name 2011-11-14 09:42:50 +00:00
Tom Hughes
7d45c2fd3c Replace request.request_uri with request.fullpath 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
7b37f4cb62 Use link_to and form_tag instead of link_to_remote and form_remote_tag 2011-11-14 09:42:40 +00:00
Tom Hughes
c9fa49c994 Update to rails 3 2011-11-14 09:42:40 +00:00
Tom Hughes
f2d205a59e Add a link to the OpenStreetMap Google+ page 2011-11-07 22:38:56 +00:00
Tom Hughes
dc4cc8d219 Add support for manual tracking of a Piwik goal on signup 2011-09-20 21:40:53 +01:00
Tom Hughes
425878bf3e Remove SOTM advert 2011-09-20 21:31:11 +01:00
Tom Hughes
3259bc7ede Add support for Piwik analytics 2011-09-17 00:11:53 +01:00
Tom Hughes
f242c9de94 Add edit links to data browser pages 2011-07-19 22:48:29 +01:00
Tom Hughes
936a005f9f Implement a generic system for updating coordinates on links 2011-07-19 11:05:06 +01:00
Tom Hughes
0c0775f96a Disable the edit tab until we have some coordinates to edit at 2011-07-19 10:02:50 +01: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
8b4d4549a4 Add a credit for IC on the front page 2011-06-28 14:03:12 +01:00
Mikel Maron
11b5fc0e95 Moved up search box to make it more visible 2011-05-21 11:00:53 +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
8f101a3759 Trigger mobile mode at 640px instead of 480px for iPhone 4 support 2011-04-03 18:02:27 +01:00
Dan Karran
d62da73ad7 Add a smaller version of the site logo and title for small screens 2011-04-03 15:16:35 +01:00
Tom Hughes
bb83f28a5e Factor out comment code from layouts into partials 2011-04-03 13:46:17 +01:00
Andy Allan
7d7416894a New version of slim layout with grey background and centered, auto-adjusting page 2011-04-03 13:46:17 +01:00
Andy Allan
873fe81f71 Try a different approach - grab the layout and stylesheet from slim1, and ditch the rest 2011-04-03 13:46:16 +01:00
Tom Hughes
b3bcbbeb3b Move SOTM advert above the optionals 2011-04-03 13:46:16 +01:00
Matt Amos
82db7eccc8 Added SOTM 2011 banner to the side bar 2011-04-03 13:46:15 +01:00
Tom Hughes
2512337cf5 Add a marker to the edit tab to indicate that it has a menu 2011-04-02 15:40:12 +01:00
Andy Allan
97261143d6 Split the help and wiki into two links - help centre and documentation 2010-12-20 18:26:08 +00:00
Andy Allan
b2f7c71fc9 link to the foundation 2010-12-20 18:26:08 +00:00
Andy Allan
22c7d4c3f9 Remove link to the shop - it's not a very big part of openstreetmap 2010-12-20 18:26:08 +00:00
Andy Allan
1a49f8eff1 News blog -> Community blogs
I suspect the text came from pointing at opengeodata.org in a bygone era.
2010-12-20 18:26:01 +00:00
Andy Allan
0aec1c5fa0 Use a list for the main menu, rather than br-separated links 2010-12-20 18:22:33 +00:00
Tom Hughes
9c2de4039c Add an explicit "default editor" option to the user settings 2010-11-29 12:20:23 +00:00
Tom Hughes
04a6c41be9 Show a popup listing available editors when hovering over the edit tab 2010-11-29 12:20:22 +00:00
Tom Hughes
4fbb622656 Make locale data for help and wiki links a bit cleaner 2010-09-10 11:43:13 +01:00
Tom Hughes
f3132f94f8 Link to help.openstreetmap.org from the sidebar 2010-09-10 11:14:00 +01:00
Tom Hughes
4633838e21 Make sure the trace tab always links to the global trace list 2010-08-06 10:40:00 +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
51195c450d Add support for CSS based control of user specific components
Define some helper routines which can be used to make page elements
only display when the logged in user matches certain conditions and
add style rules to the layout to trigger those elements based on the
logged in user.
2010-07-21 21:49:20 +01:00
Tom Hughes
f7aeff3dd6 Revert "Add advert for SOTM 2010 to sidebar"
This reverts commit 3590335221.

Conflicts:

	app/views/layouts/site.html.erb
	config/locales/en.yml
2010-07-12 22:40:46 +01:00
Tom Hughes
136d6508c2 Remove maintenance notice 2010-07-03 07:44:24 +01:00
Tom Hughes
a7a4dadbd5 Add a notice about the downtime 2010-06-30 12:51:22 +01:00
Tom Hughes
b43f9c4714 Link SOTM advert to the landing page 2010-06-16 21:16:42 +01:00
Tom Hughes
180228b7e3 Rename layouts.sotm resource to avoid using stale translations 2010-06-08 18:01:21 +01:00
Tom Hughes
3590335221 Add advert for SOTM 2010 to sidebar 2010-06-08 17:09:21 +01:00
Tom Hughes
7f1ce59f32 Rename browser-icons to browse everywhere and only load CSS when needed 2010-05-16 12:32:51 +01:00
Dan Karran
10dca1b6df Patch from bug #2787 to add icons to data browser pages 2010-05-16 12:12:59 +01:00
Tom Hughes
97f294076f Tweak the new copyright page a bit. 2010-04-06 20:11:33 +00:00
Richard Fairhurst
ecbd526956 New, more helpful and compliant copyright page 2010-04-06 13:55:33 +00:00
Tom Hughes
7f1691e878 Update the inbox link in the greeting bar when messages are marked
as read or unread.
2010-03-14 16:02:30 +00:00
Tom Hughes
a7d304d20f Require the session ID to log somebody out - if it isn't given we just
show a confirmation page. Closes #2792.
2010-03-14 15:29:53 +00:00