Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
webui
Commits
f1a875b5
Commit
f1a875b5
authored
3 years ago
by
Boris Vasilenko
Browse files
Options
Download
Email Patches
Plain Diff
NAS-113817: Errors in EntityJobComponent cannot be closed
parent
0591a48a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/pages/common/entity/entity-job/entity-job.component.html
+36
-21
.../pages/common/entity/entity-job/entity-job.component.html
with
36 additions
and
21 deletions
+36
-21
src/app/pages/common/entity/entity-job/entity-job.component.html
View file @
f1a875b5
...
...
@@ -47,25 +47,40 @@
</mat-dialog-content>
<div
mat-dialog-actions
>
<button
mat-button
*ngIf=
"showAbortButton && job?.state === JobState.Running"
ix-auto
ix-auto-type=
"button"
ix-auto-identifier=
"ABORT"
(click)=
"abortJob()"
>
{{ 'Abort' | translate }}
</button>
<button
*ngIf=
"showCloseButton"
class=
"mat-dialog-close"
mat-icon-button
mat-dialog-close=
"close"
ix-auto
ix-auto-type=
"button"
ix-auto-identifier=
"CLOSE"
>
<mat-icon>
remove
</mat-icon>
</button>
<ng-container
*ngIf=
"job?.state === JobState.Failed; then buttonsFailed else buttonsDefault"
></ng-container>
<ng-template
#buttonsFailed
>
<button
class=
"mat-dialog-close"
mat-icon-button
mat-dialog-close=
"close"
ix-auto
ix-auto-type=
"button"
ix-auto-identifier=
"CLOSE"
>
<mat-icon>
close
</mat-icon>
</button>
</ng-template>
<ng-template
#buttonsDefault
>
<button
mat-button
*ngIf=
"showAbortButton && job?.state === JobState.Running"
ix-auto
ix-auto-type=
"button"
ix-auto-identifier=
"ABORT"
(click)=
"abortJob()"
>
{{ 'Abort' | translate }}
</button>
<button
*ngIf=
"showCloseButton"
class=
"mat-dialog-close"
mat-icon-button
mat-dialog-close=
"close"
ix-auto
ix-auto-type=
"button"
ix-auto-identifier=
"CLOSE"
>
<mat-icon>
remove
</mat-icon>
</button>
</ng-template>
</div>
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help