fix: stage and approve buttons renaming
Build / Build-and-ng-test (pull_request) Failing after 15s Details

This commit is contained in:
Mihajlo Medjedovic 2024-04-01 13:37:41 +02:00
parent b1819b776d
commit ef81e33f70
2 changed files with 29 additions and 23 deletions

View File

@ -212,19 +212,19 @@
class="btn btn-sm btn-outline text-center mt-5"
(click)="goToBase(jsParams?.TABLE_NM)"
>
Go to base table screen
View base table
</button>
<button
class="btn btn-sm btn-success-outline text-center mt-5"
(click)="getTable(tableId)"
>
Go to edited screen
View staged data
</button>
<button
class="btn btn-sm btn-info-outline text-center mt-5"
(click)="goBack(jsParams?.TABLE_NM)"
>
Go back to editor
Edit base table
</button>
</div>
</div>
@ -446,19 +446,19 @@
class="btn btn-sm btn-outline text-center mt-5"
(click)="goToBase(subObj.base)"
>
Go to base table screen
View base table
</button>
<button
class="btn btn-sm btn-success-outline text-center mt-5"
(click)="getTable(subObj.tableId)"
>
Go to edited screen
View staged data
</button>
<button
class="btn btn-sm btn-info-outline text-center mt-5"
(click)="goBack(subObj.base)"
>
Go back to editor
Edit base table
</button>
</div>
</div>

View File

@ -56,27 +56,13 @@
<div class="card-title text-center">Actions</div>
</div>
<div class="mt-20">
<div class="row mb-5">
<button
class="btn btn-sm btn-outline text-center mt-20"
[disabled]="!(tableDetails?.['ALLOW_RESTORE'] === 'YES')"
>
RESTORE ALL CHANGES
</button>
<button
class="btn btn-sm btn-outline text-center mt-20"
disabled
>
REVERT CHANGE (Coming Soon)
</button>
</div>
<div class="row">
<button
class="btn btn-sm btn-outline text-center mt-20"
(click)="viewerTableScreen()"
>
Go to base table screen
View base table
</button>
<button
id="approval-btn"
@ -87,13 +73,13 @@
"
(click)="approveTableScreen()"
>
Go to approvals screen
Approve
</button>
<button
class="btn btn-sm btn-info-outline text-center mt-20"
(click)="goBack()"
>
Go back to editor
Edit base table
</button>
<button
class="btn btn-sm btn-success text-center mt-20 min-w-0"
@ -101,6 +87,26 @@
>
<clr-icon shape="download"></clr-icon>
</button>
<clr-tooltip>
<button
*ngIf="tableDetails?.['ALLOW_RESTORE'] === 'YES'"
clrTooltipTrigger
class="btn btn-sm btn-danger text-center mt-20"
>
REVERT (Coming Soon)
<clr-tooltip-content
clrPosition="bottom-right"
clrSize="lg"
*clrIfOpen
>
<span>
Revert this and all subsequent changes
</span>
</clr-tooltip-content>
</button>
</clr-tooltip>
</div>
</div>
</div>