mirror of https://github.com/rancher/ui.git
MC App Rollback hide additional fields & add help text to modals
rancher/rancher#25512
This commit is contained in:
parent
1d39e01581
commit
e63e5082f6
|
|
@ -1,9 +1,14 @@
|
|||
<header class="header">
|
||||
<h2>
|
||||
{{t
|
||||
"modalRollbackApp.title"
|
||||
appName=model.displayName
|
||||
}}
|
||||
</h2>
|
||||
<div class="pro-tip">
|
||||
{{t "modalRollbackApp.protip"}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{#if loading}}
|
||||
<i class="icon icon-spinner icon-spin"/> {{t "generic.loading"}}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import jsondiffpatch from 'jsondiffpatch';
|
|||
import moment from 'moment';
|
||||
import { notEmpty } from '@ember/object/computed';
|
||||
|
||||
const HIDDEN_FIELDS = ['digest'];
|
||||
const HIDDEN_FIELDS = ['digest', 'created', 'createdTS', 'links', 'uuid', 'id', 'name'];
|
||||
|
||||
function sanitizeToRemoveHiddenKeys(config) {
|
||||
HIDDEN_FIELDS.forEach((key) => {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,14 @@
|
|||
<header class="header">
|
||||
<h2>
|
||||
{{t
|
||||
"modalRollbackApp.title"
|
||||
appName=model.displayName
|
||||
}}
|
||||
</h2>
|
||||
<div class="pro-tip">
|
||||
{{t "modalRollbackApp.protip"}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{#if loading}}
|
||||
<i class="icon icon-spinner icon-spin"/> {{t "generic.loading"}}
|
||||
|
|
|
|||
|
|
@ -7774,6 +7774,7 @@ modalRollbackService:
|
|||
|
||||
modalRollbackApp:
|
||||
title: 'Rollback "{appName}"'
|
||||
protip: 'The "Rollback" action will create a new revision with the same configuration as the selected revision.'
|
||||
action: Rollback
|
||||
current:
|
||||
label: Current Revision
|
||||
|
|
|
|||
Loading…
Reference in New Issue