1 <% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %>
3 <%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
5 <%= render :partial => @type, :object => @feature %>
7 <% if @feature.visible? %>
8 <div class='secondary-actions'>
9 <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
12 <div class='secondary-actions'>
13 <% if @feature.version > 1 %>
14 <%= link_to({ :controller => "old_#{@type.pluralize}", :action => :show, :version => 1 }, :class => "icon-link") do %>
15 <%= previous_page_svg_tag :height => 11, :count => 2 %>
16 <%= "#{t('browse.version')} #1" %>
20 <%= link_to t("browse.view_history"), :action => "#{@type}_history" %>
21 <% if @feature.version > 1 %>
23 <%= link_to({ :controller => "old_#{@type.pluralize}", :action => :show, :version => @feature.version }, :class => "icon-link") do %>
24 <%= "#{t('browse.version')} ##{@feature.version}" %>
25 <%= next_page_svg_tag :height => 11, :count => 2 %>