Put volume link in description

This commit is contained in:
Girish Ramakrishnan
2022-06-08 10:17:54 -07:00
parent e518d2fc41
commit af5d5e548e
3 changed files with 12 additions and 8 deletions
+3 -4
View File
@@ -1409,7 +1409,7 @@
"storage": {
"appdata": {
"title": "Data Directory",
"description": "If the server is running out of disk space, use this to move the app's data to another location. Any data here is part of the app's backup.",
"description": "If the server is running out of disk space, use this to move the app's data to a <a href=\"/#/volumes\">volume</a>. Any data here is part of the app's backup.",
"dataDirPlaceholder": "Leave empty to use platform default",
"moveAction": "Move Data"
},
@@ -1420,8 +1420,7 @@
"noMounts": "No volumes are mounted.",
"addMountAction": "Add a volume mount",
"saveAction": "Save"
},
"volumeLink": "Manage Volumes"
}
},
"graphs": {
"period": {
@@ -1769,7 +1768,7 @@
},
"storage": {
"mounts": {
"description": "Apps can access mounted volumes via <code>/media/{volume name}</code> directory. This data is not included in the app's backup."
"description": "Apps can access mounted <a href=\"/#/volumes\">volumes</a> via <code>/media/{volume name}</code> directory. This data is not included in the app's backup."
}
}
}
+8 -3
View File
@@ -924,10 +924,10 @@
},
"storage": {
"appdata": {
"title": "App data",
"title": "Data map",
"dataDirPlaceholder": "Laat leeg om platformstandaard te gebruiken",
"moveAction": "Verplaats data",
"description": "Als de server onvoldoende schijfruimte heeft, gebruik dit om de app data te verplaatsen naar een externe EXT4-schijf."
"description": "Als de server onvoldoende schijfruimte heeft, gebruik dit om de app data te verplaatsen naar een andere locatie. Alle data daar is onderdeel van de app's backup."
},
"mounts": {
"title": "Koppelpunten",
@@ -1664,7 +1664,7 @@
"backToLoginAction": "Terug naar inloggen"
},
"volumes": {
"description": "Volumes zijn mappen op de server die gedeeld kunnen worden tussen apps. Dit mogen NFS/SSHFS/CIFS koppelingen of op deze server aangesloten externe schijven zijn. Volumes zijn gekoppeld aan de app container onder <code>/media</code>.",
"description": "Volumes zijn lokale of externe bestandssystemen. Ze kunnen gebruikt worden als app data opslag of als gedeelde opslag tussen apps.",
"removeVolumeDialog": {
"removeAction": "Verwijder",
"description": "Hiermee wordt het Volume <code>{{ volume }}</code> verwijderd. De gegevens in het host-pad worden niet verwijderd..",
@@ -1765,5 +1765,10 @@
},
"supportConfig": {
"emailNotVerified": "Controleer je cloudron.io account eerst zodat we zeker zijn dat we je kunnen bereiken."
},
"storage": {
"mounts": {
"description": "Apps kunnen toegang krijgen tot gekoppelde volumes via <code>/media/{volume name}</code> directory. Deze data is niet opgenomen in de app backup."
}
}
}
+1 -1
View File
@@ -960,7 +960,7 @@
<div class="card" ng-show="view === 'storage'">
<div class="row">
<div class="col-md-12">
<label class="control-label" style="display: block;">{{ 'app.storage.appdata.title' | tr }} <sup><a ng-href="https://docs.cloudron.io/apps/#data-directory" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup> <a class="pull-right" href="/#/volumes">{{ 'app.storage.volumeLink' | tr }}</a></label>
<label class="control-label" style="display: block;">{{ 'app.storage.appdata.title' | tr }} <sup><a ng-href="https://docs.cloudron.io/apps/#data-directory" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
<p ng-bind-html="'app.storage.appdata.description' | tr:{ storagePath: ('/home/yellowtent/appsdata/' + app.id) }"></p>
<form role="form" name="storageDataDirForm" ng-submit="storage.submitDataDir()" autocomplete="off">
<select class="form-control" ng-model="storage.location" ng-options="location.displayName for location in storage.locationOptions track by location.id"></select>