diff options
author | Go MAEDA <maeda@farend.jp> | 2024-06-17 07:45:53 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-06-17 07:45:53 +0000 |
commit | 59fd7742d84e27690c57e4e8ffb0db4c9395a5a0 (patch) | |
tree | f0dc2960af7fd9d8c381f4a7a60f378cf673f4b6 /app/views | |
parent | 09df0269290f9067579aa3c777d106458ca89a54 (diff) | |
download | redmine-59fd7742d84e27690c57e4e8ffb0db4c9395a5a0.tar.gz redmine-59fd7742d84e27690c57e4e8ffb0db4c9395a5a0.zip |
Merged r22877 from trunk to 5.0-stable (#40655).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22884 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/wiki/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/show.html.erb b/app/views/wiki/show.html.erb index 6a0245809..be0d7355a 100644 --- a/app/views/wiki/show.html.erb +++ b/app/views/wiki/show.html.erb @@ -85,7 +85,7 @@ <p class="wiki-update-info"> <% if User.current.allowed_to?(:view_wiki_edits, @project) %> <%= wiki_content_update_info(@content) %> - · <%= link_to l(:label_x_revisions, :count => @content.version), {:action => 'history', :id => @page.title} %> + · <%= link_to l(:label_x_revisions, :count => @page.content.versions.size), {:action => 'history', :id => @page.title} %> <% end %> <% if @page.protected? %> <span class="badge badge-status-locked"><%= l('status_locked') %></span> |