@@ -15,13 +15,20 | |||||
15 |
|
15 | |||
16 | <% if @content.version != @page.content.version %> |
|
16 | <% if @content.version != @page.content.version %> | |
17 | <p> |
|
17 | <p> | |
18 | <%= link_to(('« ' + l(:label_previous)), :action => 'show', :id => @page.title, :project_id => @page.project, :version => (@content.version - 1)) + " - " if @content.version > 1 %> |
|
18 | <%= link_to(('« ' + l(:label_previous)), | |
|
19 | :action => 'show', :id => @page.title, :project_id => @page.project, | |||
|
20 | :version => (@content.version - 1)) + " - " if @content.version > 1 %> | |||
19 | <%= "#{l(:label_version)} #{@content.version}/#{@page.content.version}" %> |
|
21 | <%= "#{l(:label_version)} #{@content.version}/#{@page.content.version}" %> | |
20 | <%= '(' + link_to('diff', :controller => 'wiki', :action => 'diff', :id => @page.title, :project_id => @page.project, :version => @content.version) + ')' if @content.version > 1 %> - |
|
22 | <%= '(' + link_to('diff', :controller => 'wiki', :action => 'diff', | |
21 | <%= link_to((l(:label_next) + ' »'), :action => 'show', :id => @page.title, :project_id => @page.project, :version => (@content.version + 1)) + " - " if @content.version < @page.content.version %> |
|
23 | :id => @page.title, :project_id => @page.project, | |
|
24 | :version => @content.version) + ')' if @content.version > 1 %> - | |||
|
25 | <%= link_to((l(:label_next) + ' »'), :action => 'show', | |||
|
26 | :id => @page.title, :project_id => @page.project, | |||
|
27 | :version => (@content.version + 1)) + " - " if @content.version < @page.content.version %> | |||
22 | <%= link_to(l(:label_current_version), :action => 'show', :id => @page.title, :project_id => @page.project) %> |
|
28 | <%= link_to(l(:label_current_version), :action => 'show', :id => @page.title, :project_id => @page.project) %> | |
23 | <br /> |
|
29 | <br /> | |
24 |
<em><%= @content.author ? link_to_user(@content.author) : |
|
30 | <em><%= @content.author ? link_to_user(@content.author) : l(:label_user_anonymous) | |
|
31 | %>, <%= format_time(@content.updated_on) %> </em><br /> | |||
25 | <%=h @content.comments %> |
|
32 | <%=h @content.comments %> | |
26 | </p> |
|
33 | </p> | |
27 | <hr /> |
|
34 | <hr /> |
General Comments 0
You need to be logged in to leave comments.
Login now