]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.html.erb
Lots more work on making RTL layout work
[rails.git] / app / views / layouts / site.html.erb
index 95289376e2d180898c257358a291bbda5bdf3135..1e00604d438f53303131a26924f6354fceb3bb9f 100644 (file)
@@ -48,7 +48,7 @@
         <% else %>
         <li><%= link_to t('layouts.export'), {:controller => 'site', :action => 'export'}, {:id => 'exportanchor', :title => t('layouts.export_tooltip'), :class => exportclass} %></li>
         <% end %>
-        <li><%= link_to t('layouts.gps_traces'), {:controller => 'trace', :action => 'list', :display_name => nil}, {:id => 'traceanchor', :title => t('layouts.gps_traces_tooltip'), :class => traceclass} %></li>
+        <li><%= link_to t('layouts.gps_traces'), {:controller => 'trace', :action => 'list', :display_name => nil, :tag => nil, :page => nil}, {:id => 'traceanchor', :title => t('layouts.gps_traces_tooltip'), :class => traceclass} %></li>
         <li><%= link_to t('layouts.user_diaries'), {:controller => 'diary_entry', :action => 'list', :display_name => nil}, {:id => 'diaryanchor', :title => t('layouts.user_diaries_tooltip'), :class => diaryclass} %></li>
       </ul>
     </div>
@@ -75,6 +75,8 @@
         </center>
       </div>
 
+      <%= yield :optionals %>
+
       <% unless @user %>
       <div id="intro">
         <p>
@@ -85,7 +87,8 @@
         </p>
         <p>
         <%= t 'layouts.intro_3', 
-              :ucl => link_to(t('layouts.intro_3_ucl'), "http://www.vr.ucl.ac.uk"), 
+              :ucl => link_to(t('layouts.intro_3_ucl'), "http://www.vr.ucl.ac.uk"),
+              :ic => link_to(t('layouts.intro_3_ic'), "http://www.imperial.ac.uk/"),
               :bytemark => link_to(t('layouts.intro_3_bytemark'), "http://www.bytemark.co.uk"),
               :partners => link_to(t('layouts.intro_3_partners'), t('layouts.intro_3_partners_url')) %>
         </p>
         <%= link_to image_tag("sotm.png", :alt => t('layouts.sotm2011'), :title => t('layouts.sotm2011'), :border => "0"), "http://stateofthemap.org/register-now/" %>
       </div>
 
-      <%= yield :optionals %>
-
       <center>
         <div class="donate">
           <a href="http://donate.openstreetmap.org/" title="<%= h(t('layouts.make_a_donation.title')) %>"><%= h(t('layouts.make_a_donation.text')) %></a>