summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-10-06 18:05:03 +0000
committerrinpatch <rinpatch@sdf.org>2020-10-06 18:05:03 +0000
commit0a69dbc97ccd2c5f1abf4aeb1e4b8fe40cb3bea4 (patch)
tree1584fa6da86552728b589ad06bffd344ea350509
parent4d852f3e78d6fcfe7bb2ef8b8d3a2f29359dd20c (diff)
parentd96b8923f631d26469de9264c3e493a69cf605dd (diff)
Merge branch 'feature/update-description-for-frontends-setting' into 'develop'
Remove extra nesting and add labels in `:frontends` setting See merge request pleroma/pleroma!3043
-rw-r--r--config/description.exs7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/description.exs b/config/description.exs
index ac3dfbb2b..6fa78a5d1 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -44,11 +44,13 @@ frontend_options = [
},
%{
key: "git",
+ label: "Git Repository URL",
type: :string,
description: "URL of the git repository of the frontend"
},
%{
key: "build_url",
+ label: "Build URL",
type: :string,
description:
"Either an url to a zip file containing the frontend or a template to build it by inserting the `ref`. The string `${ref}` will be replaced by the configured `ref`.",
@@ -56,6 +58,7 @@ frontend_options = [
},
%{
key: "build_dir",
+ label: "Build directory",
type: :string,
description: "The directory inside the zip file "
}
@@ -3681,9 +3684,7 @@ config :pleroma, :config_description, [
type: :map,
description:
"A map containing available frontends and parameters for their installation.",
- children: [
- frontend_options
- ]
+ children: frontend_options
}
]
},