use i18n label for previous and next issue (#2850)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8493 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-01-04 05:50:10 +00:00
parent 27731d637f
commit 4786706591
1 changed files with 6 additions and 2 deletions

View File

@ -5,8 +5,12 @@
<div class="<%= @issue.css_classes %> details">
<% if @prev_issue_id || @next_issue_id %>
<div class="next-prev-links contextual">
<%= link_to_if @prev_issue_id, '&#171; Previous', issue_path(@prev_issue_id), :title => "##{@prev_issue_id}" %> |
<%= link_to_if @next_issue_id, 'Next &#187;', issue_path(@next_issue_id), :title => "##{@next_issue_id}" %>
<%= link_to_if @prev_issue_id,
"&#171; #{l(:label_previous)}", issue_path(@prev_issue_id),
:title => "##{@prev_issue_id}" %> |
<%= link_to_if @next_issue_id,
"#{l(:label_next)} &#187;", issue_path(@next_issue_id),
:title => "##{@next_issue_id}" %>
</div>
<% end %>