only show Add New List if user has permission
This commit is contained in:
parent
d893b0ab41
commit
811d6df697
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue