Fix taskName

This commit is contained in:
Girish Ramakrishnan
2019-11-23 17:49:13 -08:00
parent bd15ef7768
commit e1d462aa42
2 changed files with 5 additions and 7 deletions

View File

@@ -115,7 +115,7 @@
<p>Cloudron will re-install the app in-place with existing configuration. Existing data will be retained.</p>
</div>
<div ng-if="app.error">
<p>The <b>{{ app.error.task | taskName }}</b> operation failed with the following error:</p>
<p>The <b>{{ app.error.installationState | taskName }}</b> operation failed with the following error:</p>
<p class="text-danger">{{ app.error.reason + ': ' + app.error.message }}</p>
</div>
<div class="form-group" ng-show="repair.location && repair.domain">
@@ -795,7 +795,7 @@
<p>If the app is not starting up because of a broken plugin or misconfiguration, use the <a ng-href="{{ '/terminal.html?id=' + app.id }}" target="_blank">Terminal</a>
and click 'Pause' to edit the app's filesystem.</p>
<p ng-show="app.error">An error occurred during the <b>{{ app.error.task | taskName }}</b> operation: <span class="text-danger"><b>{{ app.error.reason + ': ' + app.error.message }}</b></span></p>
<p ng-show="app.error">An error occurred during the <b>{{ app.error.installationState | taskName }}</b> operation: <span class="text-danger"><b>{{ app.error.reason + ': ' + app.error.message }}</b></span></p>
<!--<p ng-show="app.error" class="text-info"><b>{{ app.error | errorSuggestion }}</b></p>-->
<button class="btn btn-success pull-right" ng-click="repair.show()" ng-disabled="app.taskId">Repair</button>