fix auth loop

This commit is contained in:
Etienne Roudeix
2013-10-22 15:57:31 +02:00
parent c94fa9bc24
commit ddd8c4f7a5
30 changed files with 109 additions and 109 deletions

View File

@@ -27,7 +27,7 @@
<table class="table table-striped table-condensed table-left-aligned">
<caption>
{intl l="Languages management"}
{loop type="auth" name="can_create" roles="ADMIN" permissions="admin.configuration.languages.create"}
{loop type="auth" name="can_create" role="ADMIN" resource="admin.configuration.language" access="CREATE"}
<a class="btn btn-default btn-primary action-btn" title="{intl l='Add a new language'}" href="#creation_dialog" data-toggle="modal">
<span class="glyphicon glyphicon-plus-sign"></span>
</a>