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:
Go MAEDA
2026-04-10 01:59:28 +00:00
parent e2c09099b8
commit daf75cccb1

View File

@@ -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' %>">