mirror of https://github.com/zulip/zulip.git
emails: Fix contact_us macros for "mailto" scheme in email links.
Updates the contact_us_zulip_cloud and contact_us_self_hosted email macros to have the "mailto" scheme in the anchor tag for the support email address. Also updates the Zulip Cloud version for the account_registered support email link, which has a slightly different format/text than the macro.
This commit is contained in:
parent
41d76969cb
commit
ad3bed2086
|
@ -54,7 +54,7 @@
|
|||
|
||||
<p>
|
||||
{% if corporate_enabled %}
|
||||
{% trans %}Questions? <a href="{{ support_email }}">Contact us</a> — we'd love to help!{% endtrans %}
|
||||
{% trans %}Questions? <a href="mailto:{{ support_email }}">Contact us</a> — we'd love to help!{% endtrans %}
|
||||
{% else %}
|
||||
{{macros.contact_us_self_hosted(support_email)}}
|
||||
{% endif %}
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
{%- endmacro %}
|
||||
|
||||
{% macro contact_us_self_hosted(email) -%}
|
||||
{% trans %}If you have any questions, please contact this Zulip server's administrators at <a href="{{ email }}">{{ email }}</a>.{% endtrans %}
|
||||
{% trans %}If you have any questions, please contact this Zulip server's administrators at <a href="mailto:{{ email }}">{{ email }}</a>.{% endtrans %}
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro contact_us_zulip_cloud(email) -%}
|
||||
{% trans %}Do you have questions or feedback to share? <a href="{{ email }}">Contact us</a> — we'd love to help!{% endtrans %}
|
||||
{% trans %}Do you have questions or feedback to share? <a href="mailto:{{ email }}">Contact us</a> — we'd love to help!{% endtrans %}
|
||||
{%- endmacro %}
|
||||
|
|
Loading…
Reference in New Issue