From 811d6df6978d7e966698306975332a443d011e52 Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 29 Jul 2011 13:29:32 -0400 Subject: [PATCH] only show Add New List if user has permission --- app/views/closet_hangers/index.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/closet_hangers/index.html.haml b/app/views/closet_hangers/index.html.haml index 92d0588f..8426ba9d 100644 --- a/app/views/closet_hangers/index.html.haml +++ b/app/views/closet_hangers/index.html.haml @@ -52,7 +52,8 @@ Items #{closet_hanger_subject} #{closet_hanger_verb(owned)} %span.toggle.show show %span.toggle.hide hide - = link_to_add_closet_list 'Add new list', :owned => owned, :class => 'add-closet-list' + - unless public_perspective? + = link_to_add_closet_list 'Add new list', :owned => owned, :class => 'add-closet-list' .closet-hangers-group-content = render_closet_lists(@closet_lists_by_owned[owned]) = render_unlisted_closet_hangers(owned)