Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style(Preview Button): Change mat-icon value to preview #1491

Merged
merged 2 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h5 i18n>Choose the step(s) that you want to import, then select Next.</h5>
i18n-matTooltip
matTooltipPosition="above"
>
<mat-icon>visibility</mat-icon>
<mat-icon>preview</mat-icon>
</button>
</p>
<div
Expand Down Expand Up @@ -37,7 +37,7 @@ <h6 *ngIf="item.order != 0 && item.node.type == 'group'">
i18n-matTooltip
matTooltipPosition="above"
>
<mat-icon>visibility</mat-icon>
<mat-icon>preview</mat-icon>
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@
>
</button>
<button mat-flat-button color="primary" (click)="previewProject()">
<mat-icon>visibility</mat-icon>&nbsp;<ng-container i18n>Preview</ng-container>
<mat-icon>preview</mat-icon>&nbsp;<ng-container i18n>Preview</ng-container>
</button>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<mat-icon>play_circle_filled</mat-icon>&nbsp;<ng-container i18n>Launch</ng-container>
</button>
<button mat-flat-button *ngIf="isRunCompleted(run)" (click)="reviewRun()" color="primary">
<mat-icon>visibility</mat-icon>&nbsp;<ng-container i18n>Review Work</ng-container>
<mat-icon>preview</mat-icon>&nbsp;<ng-container i18n>Review Work</ng-container>
</button>
</mat-card-actions>
</mat-card>
2 changes: 1 addition & 1 deletion src/app/teacher/run-menu/run-menu.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<span i18n>Edit Settings</span>
</a>
<a mat-menu-item href="{{ run.project.uri }}" target="_blank">
<mat-icon>tv</mat-icon>
<mat-icon>preview</mat-icon>
<span i18n>Preview</span>
</a>
<a mat-menu-item (click)="showUnitDetails()">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ <h6 i18n>Choose an assessment item:</h6>
mat-raised-button
color="primary"
(click)="previewNode(item.node)"
aria-label="Preview Step"
i18n-aria-label
matTooltip="Preview Step"
matTooltipPosition="above"
i18n-matTooltip
>
<mat-icon>visibility</mat-icon>
<mat-icon>preview</mat-icon>
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
i18n-matTooltip
(click)="popUpComponentPreview($event)"
>
<mat-icon>visibility</mat-icon>
<mat-icon>preview</mat-icon>
</button>
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h3 fxLayout="row" fxLayoutAlign="start center" class="title-header">
<mat-icon>info</mat-icon>
</button>
<button mat-icon-button matTooltip="Preview Unit" i18n-matTooltip (click)="previewProject()">
<mat-icon>visibility</mat-icon>
<mat-icon>preview</mat-icon>
</button>
<button
mat-icon-button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h4>{{ importProject.metadata.title }}</h4>
matTooltipPosition="above"
i18n-matTooltip
>
<mat-icon>visibility</mat-icon>
<mat-icon>preview</mat-icon>
</button>
</div>
<div
Expand All @@ -82,13 +82,11 @@ <h6 *ngIf="importItem.order !== 0">
color="primary"
*ngIf="importItem.node.type !== 'group'"
(click)="previewImportNode(importItem.node)"
aria-label="Preview Step"
i18n-aria-label
matTooltip="Preview Step"
matTooltipPosition="above"
i18n-matTooltip
>
<mat-icon>visibility</mat-icon>
<mat-icon>preview</mat-icon>
</button>
</div>
<div
Expand All @@ -107,13 +105,11 @@ <h6 *ngIf="importItem.order !== 0">
color="primary"
*ngIf="importItem.node.type !== 'group'"
(click)="previewImportNode(importItem.node)"
aria-label="Preview Component"
i18n-aria-label
matTooltip="Preview Component"
matTooltipPosition="above"
i18n-matTooltip
>
<mat-icon>visibility</mat-icon>
<mat-icon>preview</mat-icon>
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@
*ngIf="!isGroupNode"
mat-raised-button
color="primary"
class="top-button"
(click)="previewStepInNewWindow()"
[disabled]="showEditTransitions"
matTooltip="Preview Step"
matTooltipPosition="above"
i18n-matTooltip
>
<mat-icon>visibility</mat-icon>
<mat-icon>preview</mat-icon>
</button>
</div>
<span fxFlex></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@ <h3 fxLayout="row" fxLayoutAlign="start center" class="title-header">
<button
mat-icon-button
fxHide.xs
aria-label="Preview Unit"
i18n-aria-label
(click)="previewProject()"
matTooltip="Preview Unit"
i18n-matTooltip
>
<mat-icon mat-menu-origin>visibility</mat-icon>
<mat-icon mat-menu-origin>preview</mat-icon>
</button>
</h3>
<span fxFlex></span>
Expand Down
Loading
Loading