diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-02-06 12:54:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-02-06 12:54:13 +0000 |
commit | 8fb29d4d211ac09549cf47fad764b56c9173e938 (patch) | |
tree | c8d2602d42bda89397d75aa0344f2b47dcf7cc4b /app/views/messages | |
parent | 2ad8242ae782ea9d87a0d98f8563199da736bdc7 (diff) | |
download | redmine-8fb29d4d211ac09549cf47fad764b56c9173e938.tar.gz redmine-8fb29d4d211ac09549cf47fad764b56c9173e938.zip |
Adds pagination to forum messages (#4664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3373 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/messages')
-rw-r--r-- | app/views/messages/show.rhtml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/messages/show.rhtml b/app/views/messages/show.rhtml index 079b9887e..ec6fd4fa9 100644 --- a/app/views/messages/show.rhtml +++ b/app/views/messages/show.rhtml @@ -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') %> |