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)
<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 => @content.versions.all.size), {:action => 'history', :id => @page.title} %>
<% end %>
<% if @page.protected? %>
<span class="badge badge-status-locked"><%= l('status_locked') %></span>
(1-1/3)