Skip to content

Commit ea3a4f6

Browse files
notashutoshAshutosh MohanCommanderStorm
authored
feat(status-page): add help text for 'Description' in monitor edit status page (#6254)
Co-authored-by: Ashutosh Mohan <ashutosh.mohan@koottu.app> Co-authored-by: Frank Elsinga <frank@elsinga.de>
1 parent a3672a6 commit ea3a4f6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/lang/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@
306306
"Show Tags": "Show Tags",
307307
"Hide Tags": "Hide Tags",
308308
"Description": "Description",
309+
"descriptionHelpText": "Shown on the internal dashboard. Markdown is allowed and sanitized (preserves spaces and indentation) before display.",
309310
"No monitors available.": "No monitors available.",
310311
"Add one": "Add one",
311312
"No Monitors": "No Monitors",

src/pages/EditMonitor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@
819819
<div class="my-3">
820820
<label for="description" class="form-label">{{ $t("Description") }}</label>
821821
<input id="description" v-model="monitor.description" type="text" class="form-control">
822+
<div class="form-text">{{ $t("descriptionHelpText") }}</div>
822823
</div>
823824

824825
<div class="my-3">

0 commit comments

Comments
 (0)