From 04bcdeca551f21748becfbf610e6ea2001c18bc1 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Mon, 25 Feb 2013 17:12:34 -0500 Subject: icons --- app/views/groups/_index_core.html.haml | 8 ++++++-- 1 file 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 -- cgit v1.2.3