summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-04-04 17:49:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-04-04 17:49:40 +0000
commit8fe94c30fe2a5044eda08d9bb73a2e5391273511 (patch)
tree2ee66a974fde980aaca100137fe8910fed79c284 /app/views/issues
parent7b125bc2924125200e13bdbe5dc4c04e3078d157 (diff)
downloadredmine-8fe94c30fe2a5044eda08d9bb73a2e5391273511.tar.gz
redmine-8fe94c30fe2a5044eda08d9bb73a2e5391273511.zip
Adds a link back to the issue list that we are coming from.
git-svn-id: http://svn.redmine.org/redmine/trunk@16478 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/show.html.erb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb
index e51124712..08028d270 100644
--- a/app/views/issues/show.html.erb
+++ b/app/views/issues/show.html.erb
@@ -11,7 +11,11 @@
:title => "##{@prev_issue_id}",
:accesskey => accesskey(:previous) %> |
<% if @issue_position && @issue_count %>
- <span class="position"><%= l(:label_item_position, :position => @issue_position, :count => @issue_count) %></span> |
+ <span class="position">
+ <%= link_to_if @query_path,
+ l(:label_item_position, :position => @issue_position, :count => @issue_count),
+ @query_path %>
+ </span> |
<% end %>
<%= link_to_if @next_issue_id,
"#{l(:label_next)} \xc2\xbb",