Project

General

Profile

Defect #40655 » number_of_revisions.diff

Karel Pičman, 2024-05-03 17:20

View differences:

app/views/wiki/show.html.erb (working copy)
85 85
<p class="wiki-update-info">
86 86
  <% if User.current.allowed_to?(:view_wiki_edits, @project) %>
87 87
    <%= wiki_content_update_info(@content) %>
88
    · <%= link_to l(:label_x_revisions, :count => @content.version), {:action => 'history', :id => @page.title} %>
88
    · <%= link_to l(:label_x_revisions, :count => @content.versions.all.size), {:action => 'history', :id => @page.title} %>
89 89
  <% end %>
90 90
  <% if @page.protected? %>
91 91
    <span class="badge badge-status-locked"><%= l('status_locked') %></span>
(1-1/3)