mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
matrixsynapse: Drop help text for domain selection dropdown
- Drop the warning that app may not work properly if domain name is changed. Currently only user of this form is matrixsynapse. There is already a warning message that domian name change requires uninstall. This message is redundant and incorrect. Tests: - Install Matrix Synapse on stable VM and ensure that the help text does not show up. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
5b0d980035
commit
927e1dc822
@ -49,9 +49,7 @@ class UninstallForm(forms.Form):
|
||||
|
||||
|
||||
class DomainSelectionForm(forms.Form):
|
||||
"""Form for selecting a domain name to be used for
|
||||
distributed federated applications
|
||||
"""
|
||||
"""Form for selecting a domain name."""
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
@ -61,10 +59,7 @@ class DomainSelectionForm(forms.Form):
|
||||
self.fields['domain_name'].choices = zip(domains, domains)
|
||||
|
||||
domain_name = forms.ChoiceField(
|
||||
label=_('Select a domain name to be used with this application'),
|
||||
help_text=_(
|
||||
'Warning! The application may not work properly if domain name is '
|
||||
'changed later.'), choices=[])
|
||||
label=_('Select a domain name to be used with this application'))
|
||||
|
||||
|
||||
def _get_domain_choices():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user