]> source.dussan.org Git - redmine.git/commitdiff
Use CSS to highlight the journal title (#22978).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 29 Jul 2017 12:18:53 +0000 (12:18 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 29 Jul 2017 12:18:53 +0000 (12:18 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16912 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/show.html.erb
public/stylesheets/application.css

index bac3dc51fa63b9e562c8935aa1565f5a16204a9c..3da22d4afd9c0970a7db213f4984b79cbeeb457b 100644 (file)
@@ -167,14 +167,3 @@ end %>
 <% end %>
 
 <%= context_menu %>
-
-<%= javascript_tag do %>
-$(document).ready(function(){
-  $(window).on('load hashchange',function(){
-    var hash = location.hash;
-    if (hash.match(/^#(change|note)-\d+$/)){
-      $('div' + hash).addClass('highlight').removeClass('highlight', 4000)
-    }
-  });
-});
-<% end %>
index 5d29244ee45a736e705cab280ddebd1908cad3d4..fb5af5511ef9d64c04730bfecf65a489f87df654 100644 (file)
@@ -512,6 +512,8 @@ div.journal ul.details a:hover, ul.revision-info a:hover {color:#D14848;}
 body.avatars-on div.journal {padding-left:32px;}
 div.journal h4 img.gravatar {margin-left:-32px;}
 
+#history div:target h4 {background-color:#DDEEFF;}
+
 div#activity dl, #search-results { margin-left: 2em; }
 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
 div#activity dt.me .time { border-bottom: 1px solid #999; }