Skip to content

Commit

Permalink
Make it very visible that there's unprocessed statement entries.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar committed Jan 17, 2016
1 parent 3dece9b commit 7b84232
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/views/admin/bank_statements/index.html.erb
Expand Up @@ -43,7 +43,13 @@
<td><%= l statement.created_at, format: :simple %></td>
<td><%= statement.entries.count %></td>
<td><%= statement.entries.matched.count %></td>
<td><%= statement.entries.unmatched.count %></td>
<td>
<% if statement.entries.unmatched.count > 0 %>
<span class="label label-danger"><%= statement.entries.unmatched.count %></span>
<% else %>
<%= statement.entries.unmatched.count %>
<% end %>
</td>
</tr>
<% end %>
</tbody>
Expand Down

0 comments on commit 7b84232

Please sign in to comment.