mirror of
https://github.com/redmine/redmine.git
synced 2026-07-07 01:27:51 +02:00
Wrap issue position text in span when not linked (#43885).
git-svn-id: https://svn.redmine.org/redmine/trunk@24569 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -22,9 +22,12 @@
|
||||
</li>
|
||||
<% if @issue_position && @issue_count %>
|
||||
<li class="page position">
|
||||
<%= link_to_if @query_path,
|
||||
l(:label_item_position, :position => @issue_position, :count => @issue_count),
|
||||
@query_path %>
|
||||
<% position_label = l(:label_item_position, :position => @issue_position, :count => @issue_count) %>
|
||||
<% if @query_path %>
|
||||
<%= link_to position_label, @query_path %>
|
||||
<% else %>
|
||||
<span><%= position_label %></span>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
<li class="<%= @next_issue_id ? 'next page' : 'next' %>">
|
||||
|
||||
Reference in New Issue
Block a user