mirror of
https://github.com/YunoHost/test_apps.git
synced 2024-09-03 20:06:29 +02:00
[enh] source -> bind, visibleIf -> visible, remove helpLink
This commit is contained in:
parent
f466b28859
commit
60037a9179
1 changed files with 6 additions and 12 deletions
|
@ -146,25 +146,19 @@ services = ["nginx"]
|
|||
|
||||
[main.generic.help]
|
||||
ask = "Here we add some help"
|
||||
type = "string"
|
||||
help = "You can feel this question with your keyboard (yes i know it's very useful)"
|
||||
|
||||
[main.generic.helplink]
|
||||
ask = "Here we add an help link"
|
||||
type = "select"
|
||||
help = "You can not feel this question with your keyboard (yes i know it's very useful)"
|
||||
choices.question = "Display next question"
|
||||
choices.section = "Display next section"
|
||||
helpLink.href = "https://yunohost.org/doc"
|
||||
helpLink.text = "Yunohost Doc"
|
||||
|
||||
[main.generic.visibleif]
|
||||
ask = "Display if helpLink question is filled"
|
||||
|
||||
[main.generic.visible]
|
||||
ask = "Display if help question is filled"
|
||||
type = "string"
|
||||
visibleIf = "helplink == 'question'"
|
||||
visible = "help == 'question'"
|
||||
|
||||
[main.ifsection]
|
||||
name = "Section displayed only if helplink is filled"
|
||||
visibleIf = "helplink == 'section'"
|
||||
visible = "help == 'section'"
|
||||
|
||||
[main.ifsection.sub]
|
||||
ask = "Display if helpLink question is filled"
|
||||
|
|
Loading…
Reference in a new issue