Commit b87f2c71 authored by Sandro Knauß's avatar Sandro Knauß

fix links so that the html is valid

parent 4863d7b0
{% 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 %}
{% 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 %}
{% elif not block.loadExternal and block.containsExternalReferences %}
{% 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 %}
{% 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 %}
{% endif %}
{{ msg|safe }}
</div>
......
......@@ -128,7 +128,7 @@
{% endif %}
{% endif %}
</td>
<td align="right" valign="top" nowrap="nowrap"><a href=kmail:hideSignatureDetails>{% i18n "Hide Details" %}</a></td>
<td align="right" valign="top" nowrap="nowrap"><a href="kmail:hideSignatureDetails">{% i18n "Hide Details" %}</a></td>
</tr>
<tr>
<td align="right" valign="bottom" nowrap="nowrap">{{block.auditlog}}</td>
......@@ -140,7 +140,7 @@
{% i18n "Not enough information to check signature validity." %}
{% elif block.signClass == "signOkKeyOk" %}
{% if block.addr %}
{% i18n_var "Signed by <a href=mailto:%1>%2</a>." block.addr block.addr as signed %}
{% i18n_var 'Signed by <a href="mailto:%1">%2</a>.' block.addr block.addr as signed %}
{{ signed|safe }}
{% else %}
{% i18n "Signature is valid." %}
......@@ -150,7 +150,7 @@
{% endif %}
</td>
{% if not block.printing %}
<td align="right"><a href=kmail:showSignatureDetails>{% i18n "Show Details" %}</a></td>
<td align="right"><a href="kmail:showSignatureDetails">{% i18n "Show Details" %}</a></td>
{% endif %}
{% endif %}
</tr>
......
Markdown is supported
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