summaryrefslogtreecommitdiffstats
path: root/app/helpers/journals_helper.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-04-09 14:45:52 +0000
committerGo MAEDA <maeda@farend.jp>2019-04-09 14:45:52 +0000
commit766452e84186eb2d9a1d11b0477b68398ba07a96 (patch)
tree257aaf53ea48bd804b1f85e88e850324c0a0c553 /app/helpers/journals_helper.rb
parentda2e42147b63d6fa9b9ae51816812237c355b110 (diff)
downloadredmine-766452e84186eb2d9a1d11b0477b68398ba07a96.tar.gz
redmine-766452e84186eb2d9a1d11b0477b68398ba07a96.zip
Move styles for count and private to a new class named 'badge' (#29391).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18052 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/journals_helper.rb')
-rw-r--r--app/helpers/journals_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/journals_helper.rb b/app/helpers/journals_helper.rb
index c711d0fdd..aea8fd70a 100644
--- a/app/helpers/journals_helper.rb
+++ b/app/helpers/journals_helper.rb
@@ -64,7 +64,7 @@ module JournalsHelper
def render_private_notes_indicator(journal)
content = journal.private_notes? ? l(:field_is_private) : ''
- css_classes = journal.private_notes? ? 'private' : ''
+ css_classes = journal.private_notes? ? 'badge badge-private private' : ''
content_tag('span', content.html_safe, :id => "journal-#{journal.id}-private_notes", :class => css_classes)
end
end