From 927e1dc822b04a7d7a0fc88b824f3e12ffc61f9a Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 13 May 2025 13:24:26 -0700 Subject: [PATCH] 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 Reviewed-by: James Valleroy --- plinth/forms.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plinth/forms.py b/plinth/forms.py index 269d233dc..97ace3770 100644 --- a/plinth/forms.py +++ b/plinth/forms.py @@ -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():