summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-24 10:54:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-24 10:54:41 +0000
commit9dc0da6334fe09d2be721935ec4c8187125d736e (patch)
tree15e5f79e8c710e755f9ca452f2221db06c44a635 /app/views
parent18abb3fd88154e47015b56d508e7eb6108611bad (diff)
downloadredmine-9dc0da6334fe09d2be721935ec4c8187125d736e.tar.gz
redmine-9dc0da6334fe09d2be721935ec4c8187125d736e.zip
Link to the anchor only.
git-svn-id: http://svn.redmine.org/redmine/trunk@13940 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/issues/_history.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_history.html.erb b/app/views/issues/_history.html.erb
index 3747e8d5f..fc4593ab8 100644
--- a/app/views/issues/_history.html.erb
+++ b/app/views/issues/_history.html.erb
@@ -2,7 +2,7 @@
<% for journal in journals %>
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>">
<div id="note-<%= journal.indice %>">
- <h4><%= link_to "##{journal.indice}", {:anchor => "note-#{journal.indice}"}, :class => "journal-link" %>
+ <h4><a href="#note-<%= journal.indice %>" class="journal-link">#<%= journal.indice %></a>
<%= avatar(journal.user, :size => "24") %>
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %>
<%= content_tag('span', l(:field_is_private), :class => 'private') if journal.private_notes? %></h4>