summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAngelina Filippova <linakirsanova@gmail.com>2020-09-28 18:13:45 +0300
committerAngelina Filippova <linakirsanova@gmail.com>2020-09-28 18:13:45 +0300
commit7ac4d1e7ee831cbbda535c00b7dc9aca053183be (patch)
tree0588b5d5069dce0286dbb8917a3e5d769c1882ce /config
parent35157f5dc845483e9d65236b87461f15c77ad634 (diff)
Remove extra nesting and add labels in `:frontends` setting
Diffstat (limited to 'config')
-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..be9cb0a16 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -44,11 +44,13 @@ frontend_options = [
},
%{
key: "git",
+ label: "Git",
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 Dir",
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
}
]
},