<% if @content.version != @page.content.version %>
<p>
- <%= link_to(('« ' + l(:label_previous)), :action => 'show', :id => @page.title, :project_id => @page.project, :version => (@content.version - 1)) + " - " if @content.version > 1 %>
+ <%= link_to(('« ' + l(:label_previous)),
+ :action => 'show', :id => @page.title, :project_id => @page.project,
+ :version => (@content.version - 1)) + " - " if @content.version > 1 %>
<%= "#{l(:label_version)} #{@content.version}/#{@page.content.version}" %>
- <%= '(' + link_to('diff', :controller => 'wiki', :action => 'diff', :id => @page.title, :project_id => @page.project, :version => @content.version) + ')' if @content.version > 1 %> -
- <%= link_to((l(:label_next) + ' »'), :action => 'show', :id => @page.title, :project_id => @page.project, :version => (@content.version + 1)) + " - " if @content.version < @page.content.version %>
+ <%= '(' + link_to('diff', :controller => 'wiki', :action => 'diff',
+ :id => @page.title, :project_id => @page.project,
+ :version => @content.version) + ')' if @content.version > 1 %> -
+ <%= link_to((l(:label_next) + ' »'), :action => 'show',
+ :id => @page.title, :project_id => @page.project,
+ :version => (@content.version + 1)) + " - " if @content.version < @page.content.version %>
<%= link_to(l(:label_current_version), :action => 'show', :id => @page.title, :project_id => @page.project) %>
<br />
- <em><%= @content.author ? link_to_user(@content.author) : "anonyme" %>, <%= format_time(@content.updated_on) %> </em><br />
+ <em><%= @content.author ? link_to_user(@content.author) : l(:label_user_anonymous)
+ %>, <%= format_time(@content.updated_on) %> </em><br />
<%=h @content.comments %>
</p>
<hr />