diff --git a/conf/groupname.json b/conf/groupname.json index da6b9c9..a54d029 100644 --- a/conf/groupname.json +++ b/conf/groupname.json @@ -1,7 +1,7 @@ { "op": [{"username": "__ADMIN__", "password": "__PASSWORD__"}], "presenter": [{}], - "description": "a human-readable description of the group; this is displayed on the landing page for public groups.", + "description": "__GROUP_DESCRIPTION__", "public": true, "allow-anonymous": true, "allow-recording": true, diff --git a/manifest.json b/manifest.json index 908fb1d..b93635a 100644 --- a/manifest.json +++ b/manifest.json @@ -75,6 +75,18 @@ }, "default": "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." + } } ] } diff --git a/scripts/install b/scripts/install index 442ab95..74dd724 100755 --- a/scripts/install +++ b/scripts/install @@ -29,6 +29,7 @@ admin=$YNH_APP_ARG_ADMIN is_public=$YNH_APP_ARG_IS_PUBLIC password=$YNH_APP_ARG_PASSWORD group_name=$YNH_APP_ARG_GROUP_NAME +group_description=$YNH_APP_ARG_GROUP_DESCRIPTION architecture=$(ynh_detect_arch) 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=admin --value=$admin 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