MOBILE-3320 core: Fix some toolbar icons
parent
134e2d7203
commit
567a31704b
|
@ -2,11 +2,11 @@
|
|||
<core-navbar-buttons slot="end">
|
||||
<ion-button *ngIf="glossary && glossary.browsemodes && glossary.browsemodes.length > 1" (click)="openModePicker($event)"
|
||||
[attr.aria-label]="'addon.mod_glossary.browsemode' | translate">
|
||||
<ion-icon name="fas-sort" aria-hidden="true"></ion-icon>
|
||||
<ion-icon name="fas-sort" slot="icon-only" aria-hidden="true"></ion-icon>
|
||||
</ion-button>
|
||||
|
||||
<ion-button *ngIf="glossary" (click)="toggleSearch()" [attr.aria-label]="'addon.mod_glossary.bysearch' | translate">
|
||||
<ion-icon name="fas-search" aria-hidden="true"></ion-icon>
|
||||
<ion-icon name="fas-search" slot="icon-only" aria-hidden="true"></ion-icon>
|
||||
</ion-button>
|
||||
|
||||
<core-context-menu>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<h1>{{ 'addon.mod_wiki.map' | translate }}</h1>
|
||||
<ion-buttons slot="end">
|
||||
<ion-button fill="clear" (click)="closeModal()" [attr.aria-label]="'core.close' | translate">
|
||||
<ion-icon name="fas-times" aria-hidden="true"></ion-icon>
|
||||
<ion-icon slot="icon-only" name="fas-times" aria-hidden="true"></ion-icon>
|
||||
</ion-button>
|
||||
</ion-buttons>
|
||||
</ion-toolbar>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<p slot="end" class="ion-text-end">{{ totalSize | coreBytesToSize }}</p>
|
||||
<ion-button slot="end" (click)="deleteForCourse()" [disabled]="totalSize == 0">
|
||||
<ion-icon name="fas-trash" slot="icon-only"
|
||||
ariaLabel="{{ 'addon.storagemanager.deletecourse' | translate }}">
|
||||
[attr.aria-label]="'addon.storagemanager.deletecourse' | translate">
|
||||
</ion-icon>
|
||||
</ion-button>
|
||||
</ion-item>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<p slot="end" class="ion-text-end">{{ section.totalSize | coreBytesToSize }}</p>
|
||||
<ion-button slot="end" (click)="deleteForSection(section)">
|
||||
<ion-icon name="fas-trash" slot="icon-only"
|
||||
ariaLabel="{{ 'addon.storagemanager.deletedatafrom' | translate: { name: section.name } }}">
|
||||
[attr.aria-label]="'addon.storagemanager.deletedatafrom' | translate: { name: section.name }">
|
||||
</ion-icon>
|
||||
</ion-button>
|
||||
</ion-item>
|
||||
|
@ -55,7 +55,7 @@
|
|||
<p slot="end" class="ion-text-end">{{ module.totalSize | coreBytesToSize }}</p>
|
||||
<ion-button fill="clear" slot="end" (click)="deleteForModule(module)">
|
||||
<ion-icon name="fas-trash" slot="icon-only"
|
||||
ariaLabel="{{ 'addon.storagemanager.deletedatafrom' | translate: { name: module.name } }}">
|
||||
[attr.aria-label]="'addon.storagemanager.deletedatafrom' | translate: { name: module.name }">
|
||||
</ion-icon>
|
||||
</ion-button>
|
||||
</ion-item>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<p slot="end" class="ion-text-end">{{ course.totalSize | coreBytesToSize }}</p>
|
||||
<ion-button slot="end" (click)="deleteCourse(course)" [disabled]="course.isDownloading">
|
||||
<ion-icon name="fas-trash" slot="icon-only"
|
||||
ariaLabel="{{ 'addon.storagemanager.deletedatafrom' | translate: { name: course.displayname } }}">
|
||||
[attr.aria-label]="'addon.storagemanager.deletedatafrom' | translate: { name: course.displayname }">
|
||||
</ion-icon>
|
||||
</ion-button>
|
||||
</ion-item>
|
||||
|
|
Loading…
Reference in New Issue