Commit c6461622 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix don't show warning when we print message

parent c6b57dad
{% if not block.htmlMail or not block.loadExternal and block.containsExternalReferences and not block.isPrinting %}
{% if not block.isPrinting %}
{% if not block.htmlMail or not block.loadExternal and block.containsExternalReferences %}
<div class="htmlWarn">
{% if not block.htmlMail %}
{% i18n_var "<b>Note:</b> This is an HTML message. For security reasons, only the raw HTML code is shown. If you trust the sender of this message then you can activate formatted HTML display for this message <a href='kmail:showHTML'>by clicking here</a>." as msg %}
......@@ -10,6 +11,7 @@
<br />
<br />
{% endif %}
{% endif %}
{% if not block.htmlMail %}
{{ plaintext|safe }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment