Allow app to be (re)configured after error
This is the only way to move forward should reconfigure error for some weird reason Fixes #220
This commit is contained in:
Vendored
+1
-1
@@ -26,7 +26,7 @@
|
||||
<li class="list-group-item">Access Restriction<span class="pull-right">{{ app.accessRestriction | accessRestrictionLabel }}</span></li>
|
||||
</ul>
|
||||
|
||||
<a class="btn btn-outline btn-primary pull-left" ng-show="app.installationState === 'installed'" ng-href="#/app/{{app.id}}/configure">Configure</a>
|
||||
<a class="btn btn-outline btn-primary pull-left" ng-show="!/pending_.*/.test(app.installationState)" ng-href="#/app/{{app.id}}/configure">Configure</a>
|
||||
<button class="btn btn-outline btn-primary pull-left" ng-show="app.installationState === 'installed' && (app.runState === 'stopped' || app.runState === 'error')" ng-click="startApp()">Start</button>
|
||||
<button class="btn btn-outline btn-danger pull-left" ng-show="app.installationState === 'installed' && app.runState === 'running'" ng-click="stopApp()">Stop</button>
|
||||
<button class="btn btn-outline btn-danger pull-right" data-toggle="modal" data-target="#uninstallAppModal">Uninstall</button>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<li class="list-group-item">Access Restriction<span class="pull-right">{{ app.accessRestriction | accessRestrictionLabel }}</span></li>
|
||||
</ul>
|
||||
|
||||
<a class="btn btn-outline btn-primary pull-left" ng-show="app.installationState === 'installed'" ng-href="#/app/{{app.id}}/configure">Configure</a>
|
||||
<a class="btn btn-outline btn-primary pull-left" ng-show="!/pending_.*/.test(app.installationState)" ng-href="#/app/{{app.id}}/configure">Configure</a>
|
||||
<button class="btn btn-outline btn-primary pull-left" ng-show="app.installationState === 'installed' && (app.runState === 'stopped' || app.runState === 'error')" ng-click="startApp()">Start</button>
|
||||
<button class="btn btn-outline btn-danger pull-left" ng-show="app.installationState === 'installed' && app.runState === 'running'" ng-click="stopApp()">Stop</button>
|
||||
<button class="btn btn-outline btn-danger pull-right" data-toggle="modal" data-target="#uninstallAppModal">Uninstall</button>
|
||||
|
||||
Reference in New Issue
Block a user