summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-08-25 11:49:44 +0200
committerlain <lain@soykaf.club>2020-08-25 11:49:44 +0200
commit6d6e43fd09a66740d447e77e9878d9d35bc07414 (patch)
treee306f33dcd26fad9751a111a87efe78ac438a1a7
parentc1d51944c71ff90650b1a631241daf0d8be5b861 (diff)
Description: Update description.
-rw-r--r--config/description.exs25
1 files changed, 20 insertions, 5 deletions
diff --git a/config/description.exs b/config/description.exs
index c50910911..29a657333 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -12,20 +12,35 @@ websocket_config = [
compress: false
]
-frontend_options = [
+installed_frontend_options = [
%{
key: "name",
label: "Name",
type: :string,
description:
- "Name of the frontend. Valid config must include both `Name` and `Reference` values."
+ "Name of the installed frontend. Valid config must include both `Name` and `Reference` values."
},
%{
key: "ref",
label: "Reference",
type: :string,
description:
- "Reference of the frontend to be used. Valid config must include both `Name` and `Reference` values."
+ "Reference of the installed frontend to be used. Valid config must include both `Name` and `Reference` values."
+ }
+]
+
+frontend_options = [
+ %{
+ key: "name",
+ label: "Name",
+ type: :string,
+ description: "Name of the frontend."
+ },
+ %{
+ key: "ref",
+ label: "Reference",
+ type: :string,
+ description: "Reference of the frontend to be used."
},
%{
key: "git",
@@ -3587,13 +3602,13 @@ config :pleroma, :config_description, [
key: :primary,
type: :map,
description: "Primary frontend, the one that is served for all pages by default",
- children: frontend_options
+ children: installed_frontend_options
},
%{
key: :admin,
type: :map,
description: "Admin frontend",
- children: frontend_options
+ children: installed_frontend_options
},
%{
key: :available,