Display the position of the current issue in the query results.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8663 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-01-16 18:24:59 +00:00
parent dfe26befdd
commit 44a898a210
3 changed files with 13 additions and 0 deletions
+3
View File
@@ -9,6 +9,9 @@
"\xc2\xab #{l(:label_previous)}",
issue_path(@prev_issue_id),
:title => "##{@prev_issue_id}" %> |
<% if @issue_position && @issue_count %>
<span class="position"><%= "#{@issue_position}/#{@issue_count}" %></span> |
<% end %>
<%= link_to_if @next_issue_id,
"#{l(:label_next)} \xc2\xbb",
issue_path(@next_issue_id),