summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-08-27 10:54:44 +0000
committerGo MAEDA <maeda@farend.jp>2019-08-27 10:54:44 +0000
commit217bf4602993380dd032534f8b6be158f50b0dd4 (patch)
tree155e8a129eb41a037e8726e85066e829f40a1b01
parentc37d1b43a42502399a446108bf40d72d1ab60bef (diff)
downloadredmine-217bf4602993380dd032534f8b6be158f50b0dd4.tar.gz
redmine-217bf4602993380dd032534f8b6be158f50b0dd4.zip
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
-rw-r--r--app/views/issues/tabs/_history.html.erb2
-rw-r--r--app/views/messages/show.html.erb2
-rw-r--r--public/stylesheets/application.css4
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/issues/tabs/_history.html.erb b/app/views/issues/tabs/_history.html.erb
index 6571bea45..0769f5725 100644
--- a/app/views/issues/tabs/_history.html.erb
+++ b/app/views/issues/tabs/_history.html.erb
@@ -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) %>
diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb
index 893659d6f..b8abf0321 100644
--- a/app/views/messages/show.html.erb
+++ b/app/views/messages/show.html.erb
@@ -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}" } %>
-
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 82dbdc21f..8804d2301 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -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; }