core: add automatic launch_url detection based on provider

This commit is contained in:
Jens Langhammer
2020-09-14 18:12:42 +02:00
parent ae6304c05e
commit 2c07859b68
5 changed files with 44 additions and 2 deletions

View File

@ -29,7 +29,16 @@ class ApplicationForm(forms.ModelForm):
]
widgets = {
"name": forms.TextInput(),
"meta_launch_url": forms.TextInput(),
"meta_launch_url": forms.TextInput(
attrs={
"placeholder": _(
(
"If left empty, passbook will try to extract the launch URL "
"based on the selected provider."
)
)
}
),
"meta_icon_url": forms.TextInput(),
"meta_publisher": forms.TextInput(),
}