hide rebuild button if in Started or Pending state
This commit is contained in:
parent
2d74e4ed04
commit
961c53f6cf
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
|||
<div id="main" class="output">
|
||||
<div id="main" class="output" data-result="{{ commit.status }}">
|
||||
<nav>
|
||||
<div class="options ng-scope" ng-if="repo.role.admin || repo.role.write">
|
||||
<div class="options ng-scope" ng-if="(repo.role.admin || repo.role.write) && (commit.status != 'Started' && commit.status != 'Pending')">
|
||||
<a class="pure-button pure-button-primary" ng-click="rebuildCommit()" href="#">
|
||||
<i class="fa fa-refresh"></i>
|
||||
<span>Rebuild</span>
|
||||
|
|
Loading…
Reference in a new issue