<%= render :partial => @type, :object => @feature %>
-<div class='secondary-actions'>
- <% if @feature.visible? %>
+<% if @feature.visible? %>
+ <div class='secondary-actions'>
<%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
+ </div>
+<% end %>
+<div class='secondary-actions'>
+ <% if @feature.version > 1 %>
+ <%= link_to "<< #{t('browse.version')} #1", :controller => "old_#{@type.pluralize}", :action => :show, :version => 1 %>
+ ·
+ <% end %>
+ <%= link_to t("browse.view_history"), :action => "#{@type}_history" %>
+ <% if @feature.version > 1 %>
·
+ <%= link_to "#{t('browse.version')} ##{@feature.version} >>", :controller => "old_#{@type.pluralize}", :action => :show, :version => @feature.version %>
<% end %>
- <%= link_to(t("browse.view_history"), :action => "#{@type}_history") %>
</div>