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:
parent
27731d637f
commit
4786706591
|
@ -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, '« Previous', issue_path(@prev_issue_id), :title => "##{@prev_issue_id}" %> |
|
||||
<%= link_to_if @next_issue_id, 'Next »', issue_path(@next_issue_id), :title => "##{@next_issue_id}" %>
|
||||
<%= link_to_if @prev_issue_id,
|
||||
"« #{l(:label_previous)}", issue_path(@prev_issue_id),
|
||||
:title => "##{@prev_issue_id}" %> |
|
||||
<%= link_to_if @next_issue_id,
|
||||
"#{l(:label_next)} »", issue_path(@next_issue_id),
|
||||
:title => "##{@next_issue_id}" %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
|
Loading…
Reference in New Issue