]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/history.html.erb
Make the logo on the error page clickable
[rails.git] / app / views / browse / history.html.erb
1 <% set_title(t("browse.#{@type}.history_title", :name => printable_name(@feature))) %>
2
3 <h2>
4   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
5   <%= raw t("browse.#{@type}.history_title", :name => printable_name(@feature)) %>
6 </h2>
7
8 <%= render :partial => @type, :collection => @feature.send("old_#{@type}s").reverse %>
9
10 <div class='secondary-actions'>
11   <%= link_to(t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => "history") %>
12   &middot;
13   <%= link_to(t("browse.view_details"), :action => @type) %>
14 </div>