-
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.
- Loading branch information
Showing
5 changed files
with
32 additions
and
12 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
20 changes: 14 additions & 6 deletions
20
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,14 +1,22 @@ | ||
<h2 class="mb-4"> | ||
Restore Version ({{ date$ | async | date:DATE_FORMAT }}) | ||
<translate-i18n key="label.restore-version" [params]="{ 'date': date }"> | ||
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 Version ({{ date$ | async | date:DATE_FORMAT }}) Settings</h3> | ||
<p>Restoring this version will copy the Version ({{ date$ | async | date:DATE_FORMAT }}) 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">Cancel</a> | ||
<button class="btn btn-primary" (click)="restore()">Restore</button> | ||
<h3 class="card-title" | ||
translate="message.create-new-version-from-version" | ||
[translateParams]="{ 'date': date }"> | ||
Create New Version from Version ( date ) Settings | ||
</h3> | ||
<p translate="message.restoring-this-version-will-copy" | ||
[translateParams]="{ 'date': date }"> | ||
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> |
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