mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 05:57: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>
|
||||
Document not found
|
||||
</p>
|
||||
<p class="text-center" ng-show="error.status == 403">
|
||||
<span class="glyphicon glyphicon-warning-sign"></span>
|
||||
Access forbidden
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div ng-show="document">
|
||||
|
@ -20,8 +20,8 @@
|
||||
Documents created by {{ user.username }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a ng-href="#/settings/user/edit/{{ user.username }}" ng-if="userInfo.base_functions.indexOf('ADMIN') != -1">
|
||||
<li ng-if="userInfo.base_functions.indexOf('ADMIN') != -1">
|
||||
<a ng-href="#/settings/user/edit/{{ user.username }}">
|
||||
Edit {{ user.username}} user
|
||||
</a>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user