Application Icon upload (#341)

* core: add initial implementation for File Upload

* root: add volumes to docker-compose for file upload

* helm: add pvc for uploads

* core: allow meta_icon to be overwritten with static files
This commit is contained in:
Jens L
2020-11-23 20:50:19 +01:00
committed by GitHub
parent 91e9f176a5
commit 665839133f
18 changed files with 139 additions and 21 deletions

View File

@ -23,14 +23,13 @@ class ApplicationForm(forms.ModelForm):
"slug",
"provider",
"meta_launch_url",
"meta_icon_url",
"meta_icon",
"meta_description",
"meta_publisher",
]
widgets = {
"name": forms.TextInput(),
"meta_launch_url": forms.TextInput(),
"meta_icon_url": forms.TextInput(),
"meta_publisher": forms.TextInput(),
}
help_texts = {
@ -44,7 +43,7 @@ class ApplicationForm(forms.ModelForm):
field_classes = {"provider": GroupedModelChoiceField}
labels = {
"meta_launch_url": _("Launch URL"),
"meta_icon_url": _("Icon URL"),
"meta_icon": _("Icon"),
"meta_description": _("Description"),
"meta_publisher": _("Publisher"),
}