mirror of
https://github.com/YunoHost-Apps/shaarli_ynh.git
synced 2024-09-03 20:26:10 +02:00
Reorder install questions
Right now it is closer to other Yunohost's apps installation processes (with domain + path as first question) and all the configuration for public/private mode are grouped.
This commit is contained in:
parent
f3c0e2f5e4
commit
366a6c1ee0
1 changed files with 28 additions and 28 deletions
|
@ -27,6 +27,16 @@
|
||||||
},
|
},
|
||||||
"example": "domain.org"
|
"example": "domain.org"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "path",
|
||||||
|
"type": "path",
|
||||||
|
"ask": {
|
||||||
|
"en": "Choose a path for your Shaarli",
|
||||||
|
"fr": "Choisissez un chemin pour votre Shaarli"
|
||||||
|
},
|
||||||
|
"example": "/shaarli",
|
||||||
|
"default": "/shaarli"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "is_public",
|
"name": "is_public",
|
||||||
"ask": {
|
"ask": {
|
||||||
|
@ -36,6 +46,24 @@
|
||||||
"choices": ["Yes", "No"],
|
"choices": ["Yes", "No"],
|
||||||
"default": "No"
|
"default": "No"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "privatelinkbydefault",
|
||||||
|
"ask": {
|
||||||
|
"en": "Are new links private by default ?",
|
||||||
|
"fr": "Les nouveaux liens sont-ils privés par défaut ?"
|
||||||
|
},
|
||||||
|
"choices": ["Yes", "No"],
|
||||||
|
"default": "Yes"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "privateinstance",
|
||||||
|
"ask": {
|
||||||
|
"en": "Is this instance private?",
|
||||||
|
"fr": "Cette instance est-elle privée ?"
|
||||||
|
},
|
||||||
|
"choices": ["Yes", "No"],
|
||||||
|
"default": "Yes"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"type": "user",
|
"type": "user",
|
||||||
|
@ -53,16 +81,6 @@
|
||||||
"fr": "Définissez le mot de passe de l'utilisateur Shaarli"
|
"fr": "Définissez le mot de passe de l'utilisateur Shaarli"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "path",
|
|
||||||
"type": "path",
|
|
||||||
"ask": {
|
|
||||||
"en": "Choose a path for your Shaarli",
|
|
||||||
"fr": "Choisissez un chemin pour votre Shaarli"
|
|
||||||
},
|
|
||||||
"example": "/shaarli",
|
|
||||||
"default": "/shaarli"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "title",
|
"name": "title",
|
||||||
"ask": {
|
"ask": {
|
||||||
|
@ -71,24 +89,6 @@
|
||||||
},
|
},
|
||||||
"example": "Shaarli",
|
"example": "Shaarli",
|
||||||
"default": "Shaarli"
|
"default": "Shaarli"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "privatelinkbydefault",
|
|
||||||
"ask": {
|
|
||||||
"en": "Are new links private by default ?",
|
|
||||||
"fr": "Les nouveaux liens sont-ils privés par défaut ?"
|
|
||||||
},
|
|
||||||
"choices": ["Yes", "No"],
|
|
||||||
"default": "Yes"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "privateinstance",
|
|
||||||
"ask": {
|
|
||||||
"en": "Is the instance private?",
|
|
||||||
"fr": "Cette instance est elle privée ?"
|
|
||||||
},
|
|
||||||
"choices": ["Yes", "No"],
|
|
||||||
"default": "Yes"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue