diff options
-rw-r--r-- | templates/web/fixmybarangay/around/tabbed_lists.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/web/fixmybarangay/around/tabbed_lists.html b/templates/web/fixmybarangay/around/tabbed_lists.html index c35f5a7a0..3ca4d7b2b 100644 --- a/templates/web/fixmybarangay/around/tabbed_lists.html +++ b/templates/web/fixmybarangay/around/tabbed_lists.html @@ -1,14 +1,20 @@ +[% allow_creation = !c.cobrand.only_authed_can_create || (c.user && c.user.from_council); + +IF allow_creation %] <menu id="problems-nav" class="tab-nav"> <ul> <li><a href="#current">Problems on the map</a></li> <li><a href="#message_manager">Problems via text</a></li> </ul> </menu> +[% END %] <ul id="current" class="issue-list-a tab"> [% INCLUDE "around/on_map_list_items.html" %] </ul> +[% IF allow_creation %] <ul id="message_manager" class="issue-list-a tab"> <li><p>Message Manager texts listed here</p></li> </ul> +[% END %] |