X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/452eabc941b9500d737956f698a88624fa86dc86..26855add3861ad496efdcae8598ffdf7d1116074:/app/views/layouts/site.html.erb diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index a0e894e46..97bf06203 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -74,10 +74,7 @@
<%= ad = [{:image => 'sotm-birmingham-ad.png', :title => 'State of the Map Birmingham', - :href =>'http://stateofthemap.org/'}, - {:image => 'donate-ad.png', - :title => 'Server Donation Drive', - :href =>'http://donate.openstreetmap.org/'}].sample + :href =>'http://stateofthemap.org/'}].sample link_to ad[:href], :title => ad[:title] do image_tag ad[:image], :class => :ad @@ -99,53 +96,25 @@
- + <% if @user and @user.id %> + <%= render :partial => "layouts/user_menu" %> + <% else %> + + <% end %> -
- -
<%= render :partial => "layouts/flash", :locals => { :flash => flash } %> <% if content_for? :heading %> @@ -157,8 +126,8 @@ <%= yield %>
- <% if defined?(PIWIK_LOCATION) and defined?(PIWIK_SITE) -%> - + <% if defined?(PIWIK) -%> + <% end -%>