[CST-5329] Add help text to validate only checkbox

This commit is contained in:
Giuseppe Digilio
2022-05-12 18:50:25 +02:00
parent b788579457
commit c1f64ff1ef
2 changed files with 13 additions and 4 deletions

View File

@@ -1,10 +1,17 @@
<div class="container"> <div class="container">
<h2 id="header">{{'admin.metadata-import.page.header' | translate}}</h2> <h2 id="header">{{'admin.metadata-import.page.header' | translate}}</h2>
<p>{{'admin.metadata-import.page.help' | translate}}</p> <p>{{'admin.metadata-import.page.help' | translate}}</p>
<p> <div class="form-group">
<input type="checkbox" [(ngModel)]="validateOnly" /> <div class="form-check">
<span class="ml-1">{{'admin.metadata-import.page.validateOnly' | translate}}</span> <input class="form-check-input" type="checkbox" id="validateOnly" [(ngModel)]="validateOnly">
</p> <label class="form-check-label" for="validateOnly">
{{'admin.metadata-import.page.validateOnly' | translate}}
</label>
</div>
<small id="validateOnlyHelpBlock" class="form-text text-muted">
{{'admin.metadata-import.page.validateOnly.hint' | translate}}
</small>
</div>
<ds-file-dropzone-no-uploader <ds-file-dropzone-no-uploader
(onFileAdded)="setFile($event)" (onFileAdded)="setFile($event)"

View File

@@ -550,6 +550,8 @@
"admin.metadata-import.page.validateOnly": "Validate Only", "admin.metadata-import.page.validateOnly": "Validate Only",
"admin.metadata-import.page.validateOnly.hint": "When selected, the uploaded CSV will be validated. You will receive a report of detected changes, but no changes will be saved.",