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 "<< #{t('browse.version')} #1", :controller => "old_#{@type.pluralize}", :action => :show, :version => 1 %>
17 <%= link_to t("browse.view_history"), :action => "#{@type}_history" %>
18 <% if @feature.version > 1 %>
20 <%= link_to "#{t('browse.version')} ##{@feature.version} >>", :controller => "old_#{@type.pluralize}", :action => :show, :version => @feature.version %>