Commit 98539479 authored by jplang's avatar jplang

User label_revision instead of label_version for wiki edits (#26575).

git-svn-id: https://svn.redmine.org/redmine/trunk@17509 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 6b0dbc2a
......@@ -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>
&#8594;
<%= 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 %>
......
......@@ -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 %> -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment