summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-25 17:12:34 -0500
committerPeter Kozak <spag@golwen.net>2013-02-25 17:12:34 -0500
commit04bcdeca551f21748becfbf610e6ea2001c18bc1 (patch)
tree9936c11ab252239113fbad0252525338ca16c9cc
parent08285c5324b03c307d34313d5030a6e95ed09068 (diff)
icons
-rw-r--r--app/views/groups/_index_core.html.haml8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/groups/_index_core.html.haml b/app/views/groups/_index_core.html.haml
index d99874a..3a444bf 100644
--- a/app/views/groups/_index_core.html.haml
+++ b/app/views/groups/_index_core.html.haml
@@ -1,13 +1,17 @@
%table.table.table-striped
%tr
+ %th
%th= t('groups.index.name')
- %th= t('groups.index.active')
%th= t('groups.index.comment')
- for group in groups
%tr
+ %td
+ -if group.active
+ %i.icon-ok
+ - else
+ %i.icon-ban-circle
%td= group.name
- %td= group.active
%td= group.comment
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => group} \ No newline at end of file