diff options
-rw-r--r-- | app/views/wiki/diff.html.erb | 4 | ||||
-rw-r--r-- | app/views/wiki/show.html.erb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/wiki/diff.html.erb b/app/views/wiki/diff.html.erb index 335e581f8..2482242fb 100644 --- a/app/views/wiki/diff.html.erb +++ b/app/views/wiki/diff.html.erb @@ -10,12 +10,12 @@ "#{l(:label_version)} #{@diff.content_to.version}" %> <p> -<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %> +<%= l(:label_revision) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %> <em>(<%= @diff.content_from.author ? @diff.content_from.author.name : l(:label_user_anonymous) %>, <%= format_time(@diff.content_from.updated_on) %>)</em> → -<%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show', +<%= l(:label_revision) %> <%= link_to @diff.content_to.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_to.version %>/<%= @page.content.version %> diff --git a/app/views/wiki/show.html.erb b/app/views/wiki/show.html.erb index 8dd106818..caa35eb08 100644 --- a/app/views/wiki/show.html.erb +++ b/app/views/wiki/show.html.erb @@ -21,13 +21,13 @@ <% unless @content.current_version? %> <%= title [@page.pretty_title, project_wiki_page_path(@page.project, @page.title, :version => nil)], [l(:label_history), history_project_wiki_page_path(@page.project, @page.title)], - "#{l(:label_version)} #{@content.version}" %> + "#{l(:label_revision)} #{@content.version}" %> <p> <%= link_to(("\xc2\xab " + l(:label_previous)), :action => 'show', :id => @page.title, :project_id => @page.project, :version => @content.previous.version) + " - " if @content.previous %> - <%= "#{l(:label_version)} #{@content.version}/#{@page.content.version}" %> + <%= "#{l(:label_revision)} #{@content.version}/#{@page.content.version}" %> <%= '('.html_safe + link_to(l(:label_diff), :controller => 'wiki', :action => 'diff', :id => @page.title, :project_id => @page.project, :version => @content.version) + ')'.html_safe if @content.previous %> - |