Commit graph

155 commits

Author SHA1 Message Date
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
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
c6077fd124 Make the tooltips for the tabs a bit more consistent and make the edit
and history tooltips change when those tabs are disabled to explain that
the user needs to zoom in to use them.
2010-02-26 18:49:22 +00:00
Tom Hughes
592ab2bec8 Add a link from the sidebar to the partners page in the wiki. 2010-02-06 11:33:42 +00:00
Tom Hughes
a5d8839abf Point blog link at the aggregator. 2009-11-02 19:42:33 +00:00
Tom Hughes
e23744bd8d Add :warning and :error flash messages which can be styled separately to
the existing :notice messages.

Also reviewd all existing flash messages and changed them to be errors or
warnings when appropriate and checked that those which are not followed by
a redirect are done as flash.now[] instead of flash[].
2009-11-01 13:07:46 +00:00
Tom Hughes
2541ad0f09 We don't need the @notice hack - we can use flash.now to achieve the same thing. 2009-11-01 12:32:31 +00:00
Tom Hughes
0166abe88a Merge 18123:18249 from trunk. 2009-10-21 23:37:05 +00:00
Tom Hughes
e5803ecc11 Link to the foundation blog from the sidebar. 2009-10-16 10:31:55 +00:00
Tom Hughes
ef40b61ff4 Merged 17256:18123 from trunk. 2009-10-13 20:06:24 +00:00
Matt Amos
2a7f689f1f Fixed merge fail - this branch doesn't have javascript_strings. 2009-10-13 14:36:15 +00:00
Matt Amos
42cdcce858 Another version of the media-queries CSS stuff. Works better for more pages now. 2009-10-13 14:23:20 +00:00
Tom Hughes
596ab82461 Move javascript translations to a separate key based on the path to
the javascript file that uses them and amend the layout to automatically
find and output all javascript strings.
2009-10-02 23:33:17 +00:00
Tom Hughes
52126dc3c1 There is no need to translate the names of layers which are not shown
in the layer switcher.
2009-10-02 23:03:42 +00:00
Ævar Arnfjörð Bjarmason
4c84709c80 Follow up to [17948]: Make the layer switcher translatable too! 2009-10-02 20:39:47 +00:00
Ævar Arnfjörð Bjarmason
b0e1560875 Some of our JavaScript files have UI messages but we don't want to
make them dynamic.

So I'm creating a globally scoped JavaScript array called rails_i18n
which holds some of these messages. It's loaded in <head> before any
of the JavaScript files so it should always be available.
2009-10-02 20:19:28 +00:00
Tom Hughes
d0f2288797 Add parentheses to avoid warnings. 2009-10-02 14:40:25 +00:00
Ævar Arnfjörð Bjarmason
8c1d3fdd6b Amend [17942]:
* Center-align donation text
 * Add title="" to the donate link
 * Use an official cc_button.png from http://1.1.1.1/bmi/i.creativecommons.org/l/by-sa/2.0/88x31.png that doesn't include English text
 * Add rel=license to license link as suggested by CC
 * Add width/height to CC button
2009-10-02 13:04:47 +00:00
Tom Hughes
968e6c417f Replace the donate button with a text version that can be translated. 2009-10-02 12:29:44 +00:00