From: Tom Hughes Date: Fri, 23 Aug 2013 16:40:57 +0000 (+0100) Subject: Merge remote-tracking branch 'osmlab/user-display' X-Git-Tag: live~5832 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/fa339033e1f00f4f3e2b9c790c5100a863cf91ac?ds=inline;hp=-c Merge remote-tracking branch 'osmlab/user-display' --- fa339033e1f00f4f3e2b9c790c5100a863cf91ac diff --combined app/views/layouts/site.html.erb index 3deffdde2,a89db5078..12b5b82c5 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@@ -74,7 -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 @@@ -96,53 -99,25 +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 %>