Differential D27761 Diff 77166 messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html
Changeset View
Changeset View
Standalone View
Standalone View
messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html
1 | {% if not block.isPrinting %} | 1 | {% if not block.isPrinting %} | ||
---|---|---|---|---|---|
2 | {% if not block.htmlMail or not block.loadExternal and block.containsExternalReferences %} | 2 | {% if not block.htmlMail or not block.loadExternal and block.containsExternalReferences %} | ||
3 | <div class="inlineMessageError"> | | |||
4 | {% if not block.htmlMail %} | 3 | {% if not block.htmlMail %} | ||
4 | <div class="inlineMessageWarning"> | ||||
5 | <div style="float:left; padding-right:10px;">{% icon "dialog-xml-editor" large %}</div> | ||||
5 | {% 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 %} | 6 | {% 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 %} | ||
7 | {{ msg|safe }} | ||||
8 | </div> | ||||
6 | {% elif not block.loadExternal and block.containsExternalReferences %} | 9 | {% elif not block.loadExternal and block.containsExternalReferences %} | ||
10 | <div class="inlineMessageError"> | ||||
11 | <div style="float:left; padding-right:10px;">{% icon "network-wireless" large %}</div> | ||||
7 | {% i18n_var "<b>Note:</b> This HTML message may contain external references to images etc. For security/privacy reasons external references are not loaded. If you trust the sender of this message then you can load the external references for this message <a href='kmail:loadExternal'>by clicking here</a>." as msg %} | 12 | {% i18n_var "<b>Note:</b> This HTML message may contain external references to images etc. For security/privacy reasons external references are not loaded. If you trust the sender of this message then you can load the external references for this message <a href='kmail:loadExternal'>by clicking here</a>." as msg %} | ||
8 | {% endif %} | | |||
9 | {{ msg|safe }} | 13 | {{ msg|safe }} | ||
10 | </div> | 14 | </div> | ||
15 | {% endif %} | ||||
11 | <br /> | 16 | <br /> | ||
12 | <br /> | 17 | <br /> | ||
13 | {% endif %} | 18 | {% endif %} | ||
14 | {% endif %} | 19 | {% endif %} | ||
15 | 20 | | |||
16 | {% if not block.htmlMail %} | 21 | {% if not block.htmlMail %} | ||
17 | {{ plaintext|safe }} | 22 | {{ plaintext|safe }} | ||
18 | {% else %} | 23 | {% else %} | ||
19 | <div style="position: relative"> | 24 | <div style="position: relative"> | ||
20 | {{ content|safe }} | 25 | {{ content|safe }} | ||
21 | </div> | 26 | </div> | ||
22 | {% endif %} | 27 | {% endif %} |