-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in feature/SHIBUI-1382 (pull request #359)
SHIBUI-1382 Implementation for restore page Approved-by: Dmitriy Kopylenko <dkopylenko@unicon.net>
- Loading branch information
Showing
25 changed files
with
430 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 13 additions & 5 deletions
18
ui/src/app/metadata/configuration/container/restore.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
<h2 class="mb-4"> | ||
Restore Version | ||
<h2 class="mb-4" *ngIf="date$ | async"> | ||
<translate-i18n key="label.restore-version" [params]="{ 'date': date$ | async }"> | ||
Restore Version ( date ) | ||
</translate-i18n> | ||
</h2> | ||
<div class="d-flex justify-content-center align-items-center"> | ||
<div class="card m-4 w-50"> | ||
<div class="card-body"> | ||
<h3 class="card-title">Create new version from {{ date | date:DATE_FORMAT }} settings</h3> | ||
<p>Restoring this version will copy the configuration from the selected version and create a new version from these settings. You can then edit the configuration before saving the new version.</p> | ||
<a href="#" class="btn btn-light">Cancel</a> <a href="#" class="btn btn-primary">Restore</a> | ||
<h3 class="card-title" translate="message.create-new-version-from-version"> | ||
Create New Version from Previous Settings | ||
</h3> | ||
<p translate="message.restoring-this-version-will-copy" | ||
[translateParams]="{ 'date': date$ | async }"> | ||
Restoring this version will copy the Version ( date ) configuration and create a new Version from the selected version settings. You can then edit the configuration before saving the new version. | ||
</p> | ||
<a [routerLink]="['../', 'history']" class="btn btn-light" translate="action.cancel">Cancel</a> | ||
<button class="btn btn-primary" (click)="restore()" translate="action.restore">Restore</button> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.