Adds pagination to forum messages (#4664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3373 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
2ad8242ae7
commit
8fb29d4d21
6 files changed
+46
-12
No files matched your search
@@ -20,7 +20,7 @@
|
||||
<br />
|
||||
|
||||
<% unless @replies.empty? %>
|
||||
<h3 class="comments"><%= l(:label_reply_plural) %></h3>
|
||||
<h3 class="comments"><%= l(:label_reply_plural) %> (<%= @reply_count %>)</h3>
|
||||
<% @replies.each do |message| %>
|
||||
<div class="message reply" id="<%= "message-#{message.id}" %>">
|
||||
<div class="contextual">
|
||||
@@ -38,6 +38,7 @@
|
||||
<%= link_to_attachments message, :author => false %>
|
||||
</div>
|
||||
<% end %>
|
||||
<p class="pagination"><%= pagination_links_full @reply_pages, @reply_count, :per_page_links => false %></p>
|
||||
<% end %>
|
||||
|
||||
<% if !@topic.locked? && authorize_for('messages', 'reply') %>
|
||||
|
||||
Reference in new issue
Block a user