Pārlūkot izejas kodu

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 pirms 4 gadiem
vecāks
revīzija
217bf46029

+ 1
- 1
app/views/issues/tabs/_history.html.erb Parādīt failu

@@ -11,7 +11,7 @@
<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>
</div>
<h4>
<h4 class='note-header'>
<%= avatar(journal.user) %>
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %>
<%= render_private_notes_indicator(journal) %>

+ 1
- 1
app/views/messages/show.html.erb Parādīt failu

@@ -65,7 +65,7 @@
:class => 'icon icon-del'
) if message.destroyable_by?(User.current) %>
</div>
<h4>
<h4 class='reply-header'>
<%= avatar(message.author) %>
<%= 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 Parādīt failu

@@ -311,7 +311,7 @@ tr.message td.last_message { font-size: 80%; white-space: nowrap; }
tr.message.sticky td.subject { font-weight: bold; }

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;}

tr.version.closed, tr.version.closed a { color: #999; }
@@ -557,7 +557,7 @@ div.journal h4 img.gravatar {margin-left:-32px;}
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;}

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

Notiek ielāde…
Atcelt
Saglabāt