mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 15:17:57 +01:00
Information when the current user can't access a document
This commit is contained in:
parent
ff91521a67
commit
78d4b5797b
@ -5,6 +5,10 @@
|
|||||||
<span class="glyphicon glyphicon-warning-sign"></span>
|
<span class="glyphicon glyphicon-warning-sign"></span>
|
||||||
Document not found
|
Document not found
|
||||||
</p>
|
</p>
|
||||||
|
<p class="text-center" ng-show="error.status == 403">
|
||||||
|
<span class="glyphicon glyphicon-warning-sign"></span>
|
||||||
|
Access forbidden
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div ng-show="document">
|
<div ng-show="document">
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
Documents created by {{ user.username }}
|
Documents created by {{ user.username }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li ng-if="userInfo.base_functions.indexOf('ADMIN') != -1">
|
||||||
<a ng-href="#/settings/user/edit/{{ user.username }}" ng-if="userInfo.base_functions.indexOf('ADMIN') != -1">
|
<a ng-href="#/settings/user/edit/{{ user.username }}">
|
||||||
Edit {{ user.username}} user
|
Edit {{ user.username}} user
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user