зеркало из https://github.com/mozilla/treeherder.git
Bug 1209922 - Display sheriff menu for all users
This commit is contained in:
Родитель
60b8f347bd
Коммит
db1c5b9bbf
|
@ -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>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче