Skip to content

Commit

Permalink
Fix display of untagged counts
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeltrix committed Oct 24, 2017
1 parent 17c8f71 commit 24c2ed2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/admin/admin/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,20 @@
<div class="nearly-overdue-in-moderation queue-caution">
<%= link_to admin_petitions_url(state: :nearly_overdue_in_moderation) do %>
<%= nearly_overdue_in_moderation_count %>
<span class="label">6-7 days</span>
<% unless nearly_overdue_in_moderation_untagged_count.zero? %>
/ <%= nearly_overdue_in_moderation_untagged_count %>
<% end %>
<span class="label">6-7 days</span>
<% end %>
</div>

<div class="overdue-in-moderation queue-danger">
<%= link_to admin_petitions_url(state: :overdue_in_moderation) do %>
<%= overdue_in_moderation_count %>
<span class="label">&gt; 7 days</span>
<% unless overdue_in_moderation_untagged_count.zero? %>
<small>(<%= overdue_in_moderation_untagged_count %> untagged)</small>
/ <%= overdue_in_moderation_untagged_count %>
<% end %>
<span class="label">&gt; 7 days</span>
<% end %>
</div>

Expand Down

0 comments on commit 24c2ed2

Please sign in to comment.