mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Add group description
This commit is contained in:
parent
48d8c21cde
commit
1fce0a2e3e
3 changed files with 15 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"op": [{"username": "__ADMIN__", "password": "__PASSWORD__"}],
|
"op": [{"username": "__ADMIN__", "password": "__PASSWORD__"}],
|
||||||
"presenter": [{}],
|
"presenter": [{}],
|
||||||
"description": "a human-readable description of the group; this is displayed on the landing page for public groups.",
|
"description": "__GROUP_DESCRIPTION__",
|
||||||
"public": true,
|
"public": true,
|
||||||
"allow-anonymous": true,
|
"allow-anonymous": true,
|
||||||
"allow-recording": true,
|
"allow-recording": true,
|
||||||
|
|
|
@ -75,6 +75,18 @@
|
||||||
},
|
},
|
||||||
"default": "public",
|
"default": "public",
|
||||||
"example": "public"
|
"example": "public"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "group_description",
|
||||||
|
"type": "string",
|
||||||
|
"ask": {
|
||||||
|
"en": "Choose a description for the group you want to create",
|
||||||
|
"fr": "Décrivez le groupe que vous souhaitez créer"
|
||||||
|
},
|
||||||
|
"help": {
|
||||||
|
"en": "Add a human-readable description of the group; this is displayed on the landing page for public groups.",
|
||||||
|
"fr": "Ajoutez une description du groupe; ceci est affiché sur la page de destination des groupes publics."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,7 @@ admin=$YNH_APP_ARG_ADMIN
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
password=$YNH_APP_ARG_PASSWORD
|
password=$YNH_APP_ARG_PASSWORD
|
||||||
group_name=$YNH_APP_ARG_GROUP_NAME
|
group_name=$YNH_APP_ARG_GROUP_NAME
|
||||||
|
group_description=$YNH_APP_ARG_GROUP_DESCRIPTION
|
||||||
architecture=$(ynh_detect_arch)
|
architecture=$(ynh_detect_arch)
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
@ -53,6 +54,7 @@ ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||||
ynh_app_setting_set --app=$app --key=admin --value=$admin
|
ynh_app_setting_set --app=$app --key=admin --value=$admin
|
||||||
ynh_app_setting_set --app=$app --key=group_name --value="$group_name"
|
ynh_app_setting_set --app=$app --key=group_name --value="$group_name"
|
||||||
|
ynh_app_setting_set --app=$app --key=group_description --value="$group_description"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
|
|
Loading…
Reference in a new issue