Bug 1209922 - Display sheriff menu for all users

This commit is contained in:
Jonathan French 2015-09-30 10:14:44 -04:00
Родитель 60b8f347bd
Коммит db1c5b9bbf
2 изменённых файлов: 11 добавлений и 13 удалений

Просмотреть файл

@ -15,17 +15,15 @@
<span class="navbar-right">
<!-- Sheriffing Button -->
<span ng-show="user.loggedin">
<span class="btn btn-view-nav btn-right-navbar nav-menu-btn"
ng-class="{'active': (isSheriffPanelShowing)}"
ng-click="setSheriffPanelShowing(!isSheriffPanelShowing)"
tabindex="0"
role="button"><span>Sheriffing</span>
<i class="fa fa-angle-down lightgray"
ng-hide="isSheriffPanelShowing"></i>
<i class="fa fa-angle-up lightgray"
ng-show="isSheriffPanelShowing"></i>
</span>
<span class="btn btn-view-nav btn-right-navbar nav-menu-btn"
ng-class="{'active': (isSheriffPanelShowing)}"
ng-click="setSheriffPanelShowing(!isSheriffPanelShowing)"
tabindex="0"
role="button"><span>Sheriffing</span>
<i class="fa fa-angle-down lightgray"
ng-hide="isSheriffPanelShowing"></i>
<i class="fa fa-angle-up lightgray"
ng-show="isSheriffPanelShowing"></i>
</span>
<!-- Infra Menu -->

Просмотреть файл

@ -67,7 +67,7 @@
</table>
<button ng-click="init_profile_add()" type="button"
ng-disabled="!user.is_staff"
ng-attr-title="{{!user.is_staff ? 'Staff permissions required' : ''}}"
ng-attr-title="{{!user.is_staff ? 'Sheriff permissions required' : ''}}"
class="btn btn-sm btn-primary">Add profile</button>
</div>
@ -151,7 +151,7 @@
</table>
<button ng-click="init_exclusion_add()" type="button"
ng-disabled="!user.is_staff"
ng-attr-title="{{!user.is_staff ? 'Staff permissions required' : ''}}"
ng-attr-title="{{!user.is_staff ? 'Sheriff permissions required' : ''}}"
class="btn btn-sm btn-primary">Add exclusion</button>
</div>