Skip to content

Commit

Permalink
SHIBUI-814
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Sep 20, 2018
1 parent d2b50ee commit 995f421
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 16 deletions.
3 changes: 2 additions & 1 deletion backend/src/main/resources/i18n/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ action.delete=Delete
action.remove=Remove
action.save=Save
action.toggle=Toggle { label }
action.add-contacts=Add Contact
action.add-contact=Add Contact
action.add-contacts=Add Contacts
action.use-mine=Use My Changes
action.use-theirs=Use Their Changes
action.discard-changes=Discard Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<fieldset class="form-section col">
<p>
<translate-i18n key="label.contact-information">Contact Information:</translate-i18n>&nbsp;&nbsp;
<button class="btn btn-success btn-sm" (click)="addContact()" translate="action.add-contacts" aria-label="Add contact to accordion group" role="button">
<button class="btn btn-success btn-sm" (click)="addContact()" translate="action.add-contact" aria-label="Add contact to accordion group" role="button">
Add Contact
</button>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</fieldset>
<fieldset class="form-section col">
<p>
<translate-i18n key="label.contact-information">Contact Information: </translate-i18n>
<translate-i18n key="label.contact-information">Contact Information: </translate-i18n>&nbsp;&nbsp;
<button class="btn btn-success btn-sm" (click)="addContact()" translate="action.add-contact" aria-label="Add contact to accordion group" role="button">Add Contact</button>
</p>
<div formArrayName="contacts" class="bg-light border rounded p-4" *ngIf="contacts.length">
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/schema-form/widget/array/array.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</label>
&nbsp;
<button (click)="addItem()" class="btn btn-success btn-sm array-add-button">
<translate-i18n key="action.add">Add</translate-i18n> &nbsp;
<translate-i18n key="action.add">Add</translate-i18n>&nbsp;&nbsp;
<i class="fa fa-plus" aria-hidden="true"></i>
</button>
&nbsp;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<span *ngIf="schema.description">
<ng-template #tooltip>
<translate-i18n [key]="schema.description">{{ schema.description }}</translate-i18n>
</ng-template>
</ng-template>&nbsp;&nbsp;
<i class="info-icon fa fa-fw fa-info-circle text-primary fa-lg"
[ngbPopover]="tooltip"
i18n-aria-label="tooltip.instruction"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div>
<ng-template #tooltip>
<translate-i18n [key]="schema.description">{{ schema.description }}</translate-i18n>
</ng-template>
</ng-template>&nbsp;&nbsp;
<i class="info-icon fa fa-fw fa-info-circle text-primary fa-lg" [ngbPopover]="tooltip"
[attr.aria-label]="'tooltip.instruction' | translate"></i>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<span *ngIf="schema.description">
<ng-template #tooltip>
<translate-i18n [key]="schema.description">{{ schema.description }}</translate-i18n>
</ng-template>
</ng-template>&nbsp;&nbsp;
<i class="info-icon fa fa-fw fa-info-circle text-primary fa-lg"
[ngbPopover]="tooltip"
i18n-aria-label="tooltip.instruction"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
<span>
<translate-i18n key="label.search-criteria-by" [params]="{ displayType: (displayType | translate) }">
Search Criteria by {{ this.displayType | translate }}
</translate-i18n>
</translate-i18n>&nbsp;&nbsp;
<i class="fa fa-asterisk text-danger"
aria-hidden="true"
*ngIf="entityAttributesFilterTargetType !== 'ENTITY'"></i>
</span>
<span>
<ng-template #tooltipCriteria>
<translate-i18n key="label.search-criteria-by" [params]="{ displayType: (displayType | translate) }">Search Criteria by {{ this.displayType }}</translate-i18n>
</ng-template>
</ng-template>&nbsp;&nbsp;
<i class="info-icon fa fa-fw fa-info-circle text-primary fa-lg"
[ngbPopover]="tooltipCriteria"

Expand Down
3 changes: 1 addition & 2 deletions ui/src/app/schema-form/widget/number/number.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
<span *ngIf="schema.description">
<ng-template #tooltip>
<translate-i18n [key]="schema.description">{{ schema.description }}</translate-i18n>
</ng-template>
</ng-template>&nbsp;&nbsp;
<i class="info-icon fa fa-fw fa-info-circle text-primary fa-lg"
[ngbPopover]="tooltip"

[attr.aria-label]="'tooltip.instruction' | translate"></i>
</span>
</label>
Expand Down
3 changes: 1 addition & 2 deletions ui/src/app/schema-form/widget/select/select.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
<span *ngIf="schema.description">
<ng-template #tooltip>
<translate-i18n [key]="schema.description">{{ schema.description }}</translate-i18n>
</ng-template>
</ng-template>&nbsp;&nbsp;
<i class="info-icon fa fa-fw fa-info-circle text-primary fa-lg"
[ngbPopover]="tooltip"

[attr.aria-label]="'tooltip.instruction' | translate"></i>
</span>
</label>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/schema-form/widget/string/string.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<span *ngIf="schema.description">
<ng-template #tooltip>
<translate-i18n [key]="schema.description">{{ schema.description }}</translate-i18n>
</ng-template>
</ng-template>&nbsp;&nbsp;
<i class="info-icon fa fa-fw fa-info-circle text-primary fa-lg"
[ngbPopover]="tooltip"
[attr.aria-label]="'tooltip.instruction' | translate"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
<span *ngIf="schema.description">
<ng-template #tooltip>
<translate-i18n [key]="schema.description">{{ schema.description }}</translate-i18n>
</ng-template>
</ng-template>&nbsp;&nbsp;
<i class="info-icon fa fa-fw fa-info-circle text-primary fa-lg"
[ngbPopover]="tooltip"

[attr.aria-label]="'tooltip.instruction' | translate"></i>
</span>
</label>
Expand Down

0 comments on commit 995f421

Please sign in to comment.