From 2a9b798f9e122582abb36605a7d4a1da0e70eca9 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Fri, 22 Feb 2013 07:08:23 -0500 Subject: pickup group permission model added --- app/views/groups/_index_core.html.haml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/views/groups/_index_core.html.haml (limited to 'app/views/groups/_index_core.html.haml') diff --git a/app/views/groups/_index_core.html.haml b/app/views/groups/_index_core.html.haml new file mode 100644 index 0000000..d99874a --- /dev/null +++ b/app/views/groups/_index_core.html.haml @@ -0,0 +1,13 @@ +%table.table.table-striped + %tr + %th= t('groups.index.name') + %th= t('groups.index.active') + %th= t('groups.index.comment') + + + - for group in groups + %tr + %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 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(-) (limited to 'app/views/groups/_index_core.html.haml') 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