<%= button(:clock, _('All versions'), {:controller => 'content_viewer', :profile => profile.identifier, :action => 'article_versions'}, :id => 'article-versions-link') %>
<% if @page.allow_edit?(user) && !remove_content_button(:undo) %>
<% content = content_tag('span', _('Revert to this version')) %>
<% url = profile.admin_url.merge({ :controller => 'cms', :action => 'edit', :id => @page.id, :version => @version }) %>
<%= expirable_button @page, :undo, content, url, :id => 'article-revert-version-link' %>
<% end %>
<%= button(:forward, _('Go to latest version'), {:action => 'view_page'}) %>
<%= @versioned_article.name %>
<%= _("Version %{version} - %{author} on %{date}") % {:version => @version, :author => @page.author_name(@version), :date => show_time(@versioned_article.updated_at) } %><%= _('This is not the latest version of this content.') %>