MOBILE-4270 chore: Standardize edit icons
This commit is contained in:
		
							parent
							
								
									874f47ebad
								
							
						
					
					
						commit
						7fb0c2be47
					
				| @ -16,7 +16,7 @@ | ||||
|                     [iconAction]="syncIcon" [closeOnClick]="false"> | ||||
|                 </core-context-menu-item> | ||||
|                 <core-context-menu-item [hidden]="!event || !event.canedit || event.deleted || (!canEdit && event.id > 0)" [priority]="300" | ||||
|                     [content]="'core.edit' | translate" (action)="openEdit()" iconAction="fas-pen-to-square"> | ||||
|                     [content]="'core.edit' | translate" (action)="openEdit()" iconAction="fas-pen"> | ||||
|                 </core-context-menu-item> | ||||
|                 <core-context-menu-item [hidden]="!event || !event.candelete || event.deleted" [priority]="200" | ||||
|                     [content]="'core.delete' | translate" (action)="deleteEvent()" iconAction="fas-trash"></core-context-menu-item> | ||||
|  | ||||
| @ -3,7 +3,7 @@ | ||||
| </ion-button> | ||||
| 
 | ||||
| <ion-button size="small" *ngIf="action == 'edit'" fill="clear" (click)="editEntry()" [attr.aria-label]="'core.edit' | translate"> | ||||
|     <ion-icon name="fas-gear" slot="icon-only" aria-hidden="true"></ion-icon> | ||||
|     <ion-icon name="fas-pen" slot="icon-only" aria-hidden="true"></ion-icon> | ||||
| </ion-button> | ||||
| 
 | ||||
| <ion-button size="small" *ngIf="action == 'delete' && !entry.deleted" fill="clear" color="danger" (click)="deleteEntry()" | ||||
|  | ||||
| @ -14,7 +14,7 @@ | ||||
| 
 | ||||
|     <core-context-menu> | ||||
|         <core-context-menu-item *ngIf="canEdit && (isOnline || pageIsOffline)" [priority]="590" [content]="'core.edit' | translate" | ||||
|             iconAction="fas-pen-to-square" (action)="goToEditPage()"> | ||||
|             iconAction="fas-pen" (action)="goToEditPage()"> | ||||
|         </core-context-menu-item> | ||||
|         <core-context-menu-item *ngIf="canEdit" [priority]="580" [content]="'addon.mod_wiki.createpage' | translate" iconAction="fas-plus" | ||||
|             (action)="goToNewPage()"> | ||||
|  | ||||
| @ -220,7 +220,7 @@ | ||||
|             </ion-button> | ||||
|             <ion-button expand="block" *ngIf="access.modifyingsubmissionallowed && submission" (click)="gotoSubmit()" | ||||
|                 class="ion-text-wrap ion-margin"> | ||||
|                 <ion-icon slot="start" name="fas-pen-to-square" aria-hidden="true"></ion-icon> | ||||
|                 <ion-icon slot="start" name="fas-pen" aria-hidden="true"></ion-icon> | ||||
|                 {{ 'addon.mod_workshop.editsubmission' | translate }} | ||||
|             </ion-button> | ||||
|         </div> | ||||
|  | ||||
| @ -33,7 +33,7 @@ | ||||
|             <ion-item class="ion-text-wrap" *ngIf="canEdit || canDelete"> | ||||
|                 <ion-label> | ||||
|                     <ion-button expand="block" *ngIf="canEdit" (click)="editSubmission()"> | ||||
|                         <ion-icon name="fas-pen-to-square" slot="start" aria-hidden="true"></ion-icon> | ||||
|                         <ion-icon name="fas-pen" slot="start" aria-hidden="true"></ion-icon> | ||||
|                         {{ 'addon.mod_workshop.editsubmission' | translate }} | ||||
|                     </ion-button> | ||||
|                     <ion-button expand="block" *ngIf="!submission.deleted && canDelete" color="danger" (click)="deleteSubmission()"> | ||||
|  | ||||
| @ -139,7 +139,7 @@ | ||||
|   "drivers-license": "id-card", | ||||
|   "earth-america": "earth-americas", | ||||
|   "earth": "earth-americas", | ||||
|   "edit": "pen-to-square", | ||||
|   "edit": "pen", | ||||
|   "ellipsis-h": "ellipsis", | ||||
|   "ellipsis-v": "ellipsis-vertical", | ||||
|   "envelope-square": "square-envelope", | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user