Feature #43885 » 0001-Wrap-issue-position-text-in-span-when-not-linked.patch
| app/views/issues/show.html.erb | ||
|---|---|---|
| 22 | 22 |
</li> |
| 23 | 23 |
<% if @issue_position && @issue_count %> |
| 24 | 24 |
<li class="page position"> |
| 25 |
<%= link_to_if @query_path, |
|
| 26 |
l(:label_item_position, :position => @issue_position, :count => @issue_count), |
|
| 27 |
@query_path %> |
|
| 25 |
<% position_label = l(:label_item_position, :position => @issue_position, :count => @issue_count) %> |
|
| 26 |
<% if @query_path %> |
|
| 27 |
<%= link_to position_label, @query_path %> |
|
| 28 |
<% else %> |
|
| 29 |
<span><%= position_label %></span> |
|
| 30 |
<% end %> |
|
| 28 | 31 |
</li> |
| 29 | 32 |
<% end %> |
| 30 | 33 |
<li class="<%= @next_issue_id ? 'next page' : 'next' %>"> |
- « Previous
- 1
- …
- 6
- 7
- 8
- Next »