Browse Source

fix(client): move button and change position

pull/5832/head
KenTandrian 5 days ago
parent
commit
81aaf8d896
  1. 23
      apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html

23
apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html

@ -428,6 +428,19 @@
<div class="row">
<div class="col">
<div class="button-container d-flex flex-wrap">
@if (data.hasPermissionToCreateActivity && quantity > 0) {
<button
color="warn"
mat-stroked-button
(click)="onCloseHolding()"
>
<ion-icon
class="mr-1"
name="arrow-down-circle-outline"
></ion-icon
><span i18n>Close Holding</span>
</button>
}
@if (data.hasPermissionToAccessAdminControl) {
<a
mat-stroked-button
@ -443,16 +456,6 @@
>...</a
>
}
@if (data.hasPermissionToCreateActivity && quantity > 0) {
<button
color="warn"
mat-stroked-button
(click)="onCloseHolding()"
>
<ion-icon class="mr-1" name="close-outline"></ion-icon
><span i18n>Close Holding</span>
</button>
}
@if (
dataSource?.data.length > 0 &&
data.hasPermissionToReportDataGlitch === true

Loading…
Cancel
Save