mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 09:57:35 -02:30
Merge pull request #7132 from wenottingham/diffmode-changes
Tweak diff mode wording in UI.
This commit is contained in:
@@ -111,13 +111,13 @@ export default ['i18n', function(i18n) {
|
|||||||
dataContainer: "body"
|
dataContainer: "body"
|
||||||
},
|
},
|
||||||
diff_mode: {
|
diff_mode: {
|
||||||
label: i18n._('Diff Mode'),
|
label: i18n._('Show Changes'),
|
||||||
type: 'toggleSwitch',
|
type: 'toggleSwitch',
|
||||||
toggleSource: 'diff_mode',
|
toggleSource: 'diff_mode',
|
||||||
dataTitle: i18n._('Diff Mode'),
|
dataTitle: i18n._('Show Changes'),
|
||||||
dataPlacement: 'right',
|
dataPlacement: 'right',
|
||||||
dataContainer: 'body',
|
dataContainer: 'body',
|
||||||
awPopOver: "<p>" + i18n._("If enabled, textual changes made to any templated files on the host are shown in the standard output.") + "</p>",
|
awPopOver: "<p>" + i18n._("If enabled, show the changes made by Ansible tasks, where supported. This is equivalent to Ansible's --diff mode.") + "</p>",
|
||||||
},
|
},
|
||||||
become_enabled: {
|
become_enabled: {
|
||||||
label: i18n._('Enable Privilege Escalation'),
|
label: i18n._('Enable Privilege Escalation'),
|
||||||
|
|||||||
@@ -249,13 +249,13 @@ function(NotificationsList, CompletedJobsList, i18n) {
|
|||||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
||||||
},
|
},
|
||||||
diff_mode: {
|
diff_mode: {
|
||||||
label: i18n._('Diff Mode'),
|
label: i18n._('Show Changes'),
|
||||||
type: 'toggleSwitch',
|
type: 'toggleSwitch',
|
||||||
toggleSource: 'diff_mode',
|
toggleSource: 'diff_mode',
|
||||||
dataTitle: i18n._('Diff Mode'),
|
dataTitle: i18n._('Show Changes'),
|
||||||
dataPlacement: 'right',
|
dataPlacement: 'right',
|
||||||
dataContainer: 'body',
|
dataContainer: 'body',
|
||||||
awPopOver: "<p>" + i18n._("If enabled, textual changes made to any templated files on the host are shown in the standard output.") + "</p>",
|
awPopOver: "<p>" + i18n._("If enabled, show the changes made by Ansible tasks, where supported. This is equivalent to Ansible's --diff mode.") + "</p>",
|
||||||
subCheckbox: {
|
subCheckbox: {
|
||||||
variable: 'ask_diff_mode_on_launch',
|
variable: 'ask_diff_mode_on_launch',
|
||||||
text: i18n._('Prompt on launch')
|
text: i18n._('Prompt on launch')
|
||||||
|
|||||||
Reference in New Issue
Block a user