Feature #22978 » highlight_the_linked_note-v3.patch
| app/views/issues/show.html.erb | ||
|---|---|---|
|
<% 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', 2000)
|
||
|
}
|
||
|
});
|
||
|
});
|
||
|
<% end %>
|
||
| public/stylesheets/application.css | ||
|---|---|---|
|
div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;}
|
||
|
div.thumbnails img {margin: 3px; vertical-align: middle;}
|
||
|
#history div.thumbnails {margin-left: 2em;}
|
||
|
#history div.highlight {background-color: #ffffdd;}
|
||
|
p.other-formats { text-align: right; font-size:0.9em; color: #666; }
|
||
|
.other-formats span + span:before { content: "| "; }
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »