Skip to content

Commit

Permalink
Add missing fallback texts
Browse files Browse the repository at this point in the history
  • Loading branch information
BatJan authored and nathanwoulfe committed Oct 26, 2021
1 parent 0723749 commit 87a8ea7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@

<div class="umb-group-builder__group-title-val-message" ng-messages="groupNameForm.groupName.$error" show-validation-on-submit>
<div class="umb-validation-label -arrow-left" ng-message="valServerField">{{groupNameForm.groupName.errorMsg}}</div>
<div class="umb-validation-label -arrow-left" ng-message="required"><localize key="required"></localize></div>
<div class="umb-validation-label -arrow-left" ng-message="required"><localize key="required">Required</localize></div>
</div>
</div>
</ng-form>

<div class="umb-group-builder__group-title-right">
<div class="umb-group-builder__group-inherited-label" ng-if="vm.group.inherited">
<umb-icon icon="icon-merge" class="icon"></umb-icon>
<localize key="contentTypeEditor_inheritedFrom"></localize>: {{ vm.group.inheritedFromName }}
<localize key="contentTypeEditor_inheritedFrom">Inherited from</localize>: {{ vm.group.inheritedFromName }}
<span ng-repeat="contentTypeName in vm.group.parentTabContentTypeNames">
<button type="button" class="btn-link btn-small p0" ng-click="vm.clickComposition(vm.group.parentTabContentTypes[$index])">{{ contentTypeName }}</button>
<span ng-if="!$last">, </span>
Expand All @@ -46,9 +46,9 @@
<input name="groupSortOrder" type="number" class="umb-property-editor-tiny" style="margin-bottom: 0;" ng-model="vm.group.sortOrder" ng-disabled="vm.group.inherited" ng-blur="vm.changeSortOrderValue()" required />

<!-- This is a manual validation message not bound to a validator -->
<div class="umb-validation-label -arrow-left" ng-if="groupSortOrderForm.groupSortOrder.$error.required && tab.showSortOrderMissing"><localize key="required"></localize></div>
<div class="umb-validation-label -arrow-left" ng-if="groupSortOrderForm.groupSortOrder.$error.required && tab.showSortOrderMissing"><localize key="required">Required</localize></div>
<div ng-messages="groupSortOrderForm.groupSortOrder.$error" show-validation-on-submit>
<div class="umb-validation-label -arrow-left" ng-message="required"><localize key="required"></localize></div>
<div class="umb-validation-label -arrow-left" ng-message="required"><localize key="required">Required</localize></div>
</div>
</div>
</ng-form>
Expand Down

0 comments on commit 87a8ea7

Please sign in to comment.