zulip/templates/zerver/emails/macros.html

20 lines
791 B
HTML

{% macro email_tag(email, text) -%}
<a href="mailto:{{ email }}">{{ text | default(email) }}</a>
{%- endmacro %}
{% macro referrer_email_tag(referrer_email, referrer_name) -%}
<a href="mailto:{{ referrer_email }}">{{ referrer_name }} ({{ referrer_email }})</a>
{%- endmacro %}
{% macro link_tag(url, text) -%}
<a href="{{ url }}">{{ text | default(url) }}</a>
{%- 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 %}
{%- 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 %}
{%- endmacro %}