Hidding wiki links when needed

stable
Alejandro Alonso 2014-08-11 09:20:34 +02:00
parent 73d20649f2
commit efe4a3ce2a
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ block head
block content
div.wrapper(tg-wiki-edit, ng-controller="WikiEditController as ctrl",
ng-init="section='wiki'")
sidebar.menu-secondary.extrabar
sidebar.menu-secondary.extrabar(tg-check-permission, permission="view_wiki_links")
section.wiki-nav(tg-wiki-nav, ng-model="wikiLinks")
section.main.wiki
//Include views/components/mainTitle

View File

@ -6,7 +6,7 @@ block head
block content
div.wrapper(tg-wiki-detail, ng-controller="WikiDetailController as ctrl",
ng-init="section='wiki'")
sidebar.menu-secondary.extrabar
sidebar.menu-secondary.extrabar(tg-check-permission, permission="view_wiki_links")
section.wiki-nav(tg-wiki-nav, ng-model="wikiLinks")
section.main.wiki
header