summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/helpers/issues_helper.rb2
-rw-r--r--app/helpers/journals_helper.rb2
-rw-r--r--app/views/issues/_list.html.erb2
-rw-r--r--app/views/timelog/_list.html.erb2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index b49fe8983..cecd9a482 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -82,7 +82,7 @@ module IssuesHelper
s << '<div>'
subject = h(issue.subject)
if issue.is_private?
- subject = subject + ' ' + content_tag('span', l(:field_is_private), :class => 'private')
+ subject = subject + ' ' + content_tag('span', l(:field_is_private), :class => 'badge badge-private private')
end
s << content_tag('h3', subject)
s << '</div>' * (ancestors.size + 1)
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
diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb
index 99d9cbceb..0c3062650 100644
--- a/app/views/issues/_list.html.erb
+++ b/app/views/issues/_list.html.erb
@@ -25,7 +25,7 @@
<tr class="group open">
<td colspan="<%= query.inline_columns.size + 2 %>">
<span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
- <span class="name"><%= group_name %></span> <span class="count"><%= group_count %></span> <span class="totals"><%= group_totals %></span>
+ <span class="name"><%= group_name %></span> <span class="badge badge-count count"><%= group_count %></span> <span class="totals"><%= group_totals %></span>
<%= link_to_function("#{l(:button_collapse_all)}/#{l(:button_expand_all)}",
"toggleAllRowGroups(this)", :class => 'toggle-all') %>
</td>
diff --git a/app/views/timelog/_list.html.erb b/app/views/timelog/_list.html.erb
index 019ddbb53..6bdd5b89a 100644
--- a/app/views/timelog/_list.html.erb
+++ b/app/views/timelog/_list.html.erb
@@ -23,7 +23,7 @@
<span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
<span class="name"><%= group_name %></span>
<% if group_count %>
- <span class="count"><%= group_count %></span>
+ <span class="badge badge-count count"><%= group_count %></span>
<% end %>
<span class="totals"><%= group_totals %></span>
<%= link_to_function("#{l(:button_collapse_all)}/#{l(:button_expand_all)}",