summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-14 11:15:14 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-14 11:15:14 (GMT)
commitc64616221277a76613913c84ddc690cb7a6812a8 (patch)
tree0e6997a0fe0079751a36aca1beb4f068eaaae051
parentc6b57dadbe4c8b01ca9f921b51132caba37df637 (diff)
Fix don't show warning when we print message
-rw-r--r--messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html b/messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html
index 1ed9f2f..f10c856 100644
--- a/messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html
+++ b/messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html
@@ -1,4 +1,5 @@
-{% 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 }}