add info on where volume is mounted

This commit is contained in:
Girish Ramakrishnan
2020-11-23 17:25:13 -08:00
parent 786a1d0c2a
commit c211428897
3 changed files with 11 additions and 4 deletions

View File

@@ -740,7 +740,10 @@
<label class="control-label">{{ 'app.storage.mounts.title' | tr }} <sup><a ng-href="https://docs.cloudron.io/apps/#mounts" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
<div class="has-error" ng-show="storage.error.mounts">{{ storage.error.mounts }}</div>
<table class="table table-hover" style="margin-top: 10px;" ng-show="storage.mounts.length > 0">
<div ng-show="storage.mounts.length === 0">{{ 'app.storage.mounts.noMounts' | tr }}</div>
<p ng-bind-html="'storage.mounts.volumeLocation' | tr" ng-show="storage.mounts.length > 0"></p>
<table ng-show="storage.mounts.length > 0" class="table table-hover" style="margin-top: 10px;">
<thead>
<tr>
<th style="width: 40%">{{ 'app.storage.mounts.volume' | tr }}</th>
@@ -763,7 +766,6 @@
</tbody>
</table>
<div ng-show="storage.mounts.length === 0">{{ 'app.storage.mounts.noMounts' | tr }}</div>
<div style="margin-top: 5px;"><a href="" ng-click="storage.addMount($event)">{{ 'app.storage.mounts.addMountAction' | tr }}</a></div>
</div>