Browse Source

Add CSS class to "journal" and "reply" headers (#31950).

Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18403 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.1.0
Go MAEDA 4 years ago
parent
commit
217bf46029

+ 1
- 1
app/views/issues/tabs/_history.html.erb View File

<span class="journal-actions"><%= render_journal_actions(issue, journal, :reply_links => reply_links) %></span> <span class="journal-actions"><%= render_journal_actions(issue, journal, :reply_links => reply_links) %></span>
<a href="#note-<%= journal.indice %>" class="journal-link">#<%= journal.indice %></a> <a href="#note-<%= journal.indice %>" class="journal-link">#<%= journal.indice %></a>
</div> </div>
<h4>
<h4 class='note-header'>
<%= avatar(journal.user) %> <%= avatar(journal.user) %>
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %> <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %>
<%= render_private_notes_indicator(journal) %> <%= render_private_notes_indicator(journal) %>

+ 1
- 1
app/views/messages/show.html.erb View File

:class => 'icon icon-del' :class => 'icon icon-del'
) if message.destroyable_by?(User.current) %> ) if message.destroyable_by?(User.current) %>
</div> </div>
<h4>
<h4 class='reply-header'>
<%= avatar(message.author) %> <%= avatar(message.author) %>
<%= link_to message.subject, { :controller => 'messages', :action => 'show', :board_id => @board, :id => @topic, :r => message, :anchor => "message-#{message.id}" } %> <%= link_to message.subject, { :controller => 'messages', :action => 'show', :board_id => @board, :id => @topic, :r => message, :anchor => "message-#{message.id}" } %>
- -

+ 2
- 2
public/stylesheets/application.css View File

tr.message.sticky td.subject { font-weight: bold; } tr.message.sticky td.subject { font-weight: bold; }


body.avatars-on #replies .message.reply {padding-left: 32px;} body.avatars-on #replies .message.reply {padding-left: 32px;}
#replies .reply:target > h4 {background-color:#DDEEFF;}
#replies .reply:target h4.reply-header {background-color:#DDEEFF;}
#replies h4 img.gravatar {margin-left:-32px;} #replies h4 img.gravatar {margin-left:-32px;}


tr.version.closed, tr.version.closed a { color: #999; } tr.version.closed, tr.version.closed a { color: #999; }
border-radius: 0 0 3px 3px / 0 0 3px 3px; border-radius: 0 0 3px 3px / 0 0 3px 3px;
} }


#history div:target > h4 {background-color:#DDEEFF;}
#history div:target h4.note-header {background-color:#DDEEFF;}
#history p.nodata {display: none;} #history p.nodata {display: none;}


div#activity dl, #search-results { margin-left: 2em; } div#activity dl, #search-results { margin-left: 2em; }

Loading…
Cancel
Save