1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

Wrapping the unsetting of variables in thei context conditionals

This commit is contained in:
Andrew Burden
2020-01-10 11:30:50 +01:00
committed by openshift-cherrypick-robot
parent aede569404
commit cbcac19009
2 changed files with 9 additions and 11 deletions

View File

@@ -7,13 +7,11 @@
// and VM templates.
ifeval::["{context}" == "cnv-edit-vms"]
:cnv-vm-add-disk:
:object: virtual machine
:object-gui: Virtual Machines
endif::[]
ifeval::["{context}" == "cnv-editing-vm-template"]
:cnv-vm-add-disk-template:
:object: virtual machine template
:object-gui: Virtual Machine Templates
endif::[]
@@ -31,15 +29,14 @@ endif::[]
. Use the drop-down lists and check boxes to edit the disk configuration.
. Click *OK*.
// Scrubbing all conditionals used in module
:object!:
:object-gui!:
// Unsetting all conditionals used in module
ifeval::["{context}" == "cnv-edit-vms"]
:cnv-vm-add-disk!:
:object!:
:object-gui!:
endif::[]
ifeval::["{context}" == "cnv-editing-vm-template"]
:cnv-vm-template!:
:object!:
:object-gui!:
endif::[]

View File

@@ -52,13 +52,14 @@ endif::cnv-vm[]
// subsequent modules in the assembly and topic_map.
// Attributes set with an ifeval statement need to be unset with an ifeval statement.
:object!:
:object-gui!:
ifeval::["{context}" == "cnv-edit-vms"]
:cnv-vm!:
:object!:
:object-gui!:
endif::[]
ifeval::["{context}" == "cnv-editing-vm-template"]
:cnv-vm-template!:
:object!:
:object-gui!:
endif::[]