From 5d109f843a70626bf0cc176e741fd82a2d90d536 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 4 Jul 2025 10:19:59 +0200 Subject: [PATCH] refinement of support form --- src/servala/frontend/forms/support.py | 4 +++- .../templates/frontend/organizations/support.html | 9 ++++----- src/servala/frontend/views/support.py | 7 +++++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/servala/frontend/forms/support.py b/src/servala/frontend/forms/support.py index dd62c95..a1a8ed8 100644 --- a/src/servala/frontend/forms/support.py +++ b/src/servala/frontend/forms/support.py @@ -6,5 +6,7 @@ class SupportForm(forms.Form): message = forms.CharField( label=_("Message"), widget=forms.Textarea(attrs={"rows": 8}), - help_text=_("Please describe your issue or question in detail."), + help_text=_( + "Please provide a detailed description of your inquiry to enable us to assist you effectively." + ), ) diff --git a/src/servala/frontend/templates/frontend/organizations/support.html b/src/servala/frontend/templates/frontend/organizations/support.html index 75618a6..2f63df7 100644 --- a/src/servala/frontend/templates/frontend/organizations/support.html +++ b/src/servala/frontend/templates/frontend/organizations/support.html @@ -12,13 +12,13 @@
-
{% translate "Get Support" %}
+
{% translate "Submit Your Inquiry" %}

- {% translate "Need help? Submit your question or issue below and our support team will get back to you." %} + {% translate "Need assistance or have feedback to share? Please submit your inquiry, issue, or feedback below, and our team will respond promptly." %}

{% csrf_token %} - {% translate "Submit Support Request" as form_submit_label %} + {% translate "Submit Request" as form_submit_label %} {% include "includes/form.html" with form=form %}
@@ -32,9 +32,8 @@

- {% translate "When you submit a support request, it will be sent to our support team who will respond via email." %} + {% translate "Support requests are reviewed by our team and responses will be sent via email." %}

-

{% translate "For urgent issues, please contact us directly." %}

diff --git a/src/servala/frontend/views/support.py b/src/servala/frontend/views/support.py index e7ed763..a5de757 100644 --- a/src/servala/frontend/views/support.py +++ b/src/servala/frontend/views/support.py @@ -1,6 +1,7 @@ from django.conf import settings from django.contrib import messages from django.shortcuts import redirect +from django.utils.safestring import mark_safe from django.utils.translation import gettext_lazy as _ from django.views.generic import FormView @@ -48,8 +49,10 @@ class SupportView(OrganizationViewMixin, FormView): except Exception as e: messages.error( self.request, - _( - "There was an error submitting your support request. Please try again or contact us directly." + mark_safe( + _( + 'There was an error submitting your support request. Please try again or contact us directly at servala-support@vshn.ch.' + ) ), ) print(f"Error creating helpdesk ticket: {e}")