X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..26855add3861ad496efdcae8598ffdf7d1116074:/app/views/layouts/site.html.erb diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index d36681d97..97bf06203 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -1,19 +1,19 @@ <%= render :partial => "layouts/head" %> - -
- <%= link_to(image_tag("osm_logo.png", :size => "16x16", :alt => t('layouts.logo.alt_text')), root_path) %> -

<%= t 'layouts.project_name.h1' %>

-
-
+ +

+ <%= image_tag "osm_logo.png", :size => "16x16", :alt => t('layouts.logo.alt_text') %> + <%= t 'layouts.project_name.h1' %> +

+
<%= yield :optionals %> <% unless @user %> @@ -38,18 +38,12 @@

<%= t 'layouts.osm_read_only' %>

<% end %> - <% if false %> - - <% end %>
  • -

    <%= link_to t('layouts.gps_traces'), traces_path, { - :id => 'traceanchor', - :title => t('layouts.gps_traces_tooltip') - } %>

    +

    <%= t'layouts.data' %>

    + + +
  • <%= yield :left_menu %> +
    +
    + <%= ad = [{:image => 'sotm-birmingham-ad.png', + :title => 'State of the Map Birmingham', + :href =>'http://stateofthemap.org/'}].sample + + link_to ad[:href], :title => ad[:title] do + image_tag ad[:image], :class => :ad + end + %> +
    +
    - + <% if @user and @user.id %> + <%= render :partial => "layouts/user_menu" %> + <% else %> + + <% end %> -
    - -
    <%= render :partial => "layouts/flash", :locals => { :flash => flash } %> <% if content_for? :heading %> @@ -147,8 +126,8 @@ <%= yield %>
    - <% if defined?(PIWIK_LOCATION) and defined?(PIWIK_SITE) -%> - + <% if defined?(PIWIK) -%> + <% end -%>