File indexing completed on 2025-03-09 04:54:35
0001 {% if not block.isDecrypted %} 0002 <div style="font-size:large; text-align:center; padding-top:20pt;"> 0003 {% i18n "This message is encrypted." %} 0004 </div> 0005 <div style="text-align:center; padding-bottom:20pt;"> 0006 0007 <a href="kmail:decryptMessage" style="display: inline-flex; align-items: center;"> <img src="{{block.decryptIcon}}" height="{{global.iconSize}}" width="{{global.iconSize}}"/> {% i18n "Decrypt Message" %} </a> 0008 </div> 0009 {% else %} 0010 <table cellspacing="1" cellpadding="1" class="encr"> 0011 <tr class="encrH"> 0012 <td dir="{{global.dir}}"> 0013 {% if block.inProgress %} 0014 {% i18n "Please wait while the message is being decrypted..." %} 0015 {% elif block.isDecryptable %} 0016 {% if block.detailHeader %} 0017 <div class="enc-details"> 0018 {% i18n "The message is encrypted for the following keys:" %} 0019 {% if not block.isPrinting %} 0020 <a href="kmail:hideEncryptionDetails" style="display:block;float:right;">{% i18n "Hide Details" %}</a> 0021 {% endif %} 0022 <ul style="list-style-type: none;"> 0023 {% for recipient in decryptedRecipients %} 0024 {%if recipient.mainID %} 0025 <li>{{recipient.id}} (<a href="kmail:showCertificate#{{cryptoProto.displayName}} ### {{cryptoProto.name}} ### {{recipient.mainID}}">0x{{recipient.mainID}}</a>)</li> 0026 {% else %} 0027 <li><a href="kmail:showCertificate#{{cryptoProto.displayName}} ### {{cryptoProto.name}} ### {{recipient.keyID}}">0x{{recipient.keyID}}</a> ({% i18n "unknown key" %})</li> 0028 {% endif %} 0029 {% endfor %} 0030 </ul> 0031 {% if block.compliance %} 0032 {% i18nc "Compliance: status/type of compliance" "Compliance: %1" block.compliance %} 0033 {% endif %} 0034 </div> 0035 {% else %} 0036 <div class="enc-simple"> 0037 {% if block.compliance %} 0038 {% i18nc "Encrypted message (status/type of compliance)" "Encrypted message (%1)" block.compliance %} 0039 {% else %} 0040 {% i18n "Encrypted message" %} 0041 {% endif %} 0042 {% if not block.isPrinting %} 0043 <a href="kmail:showEncryptionDetails" style="display:block;float:right;">{% i18n "Show Details" %}</a> 0044 {% endif %} 0045 </div> 0046 {% endif %} 0047 {% else %} 0048 {% i18n "Encrypted message (decryption not possible)" %} 0049 {% if block.errorText %} 0050 <br /> 0051 {% i18n "Reason: " %}{{block.errorText|safe}} 0052 {% endif %} 0053 {% endif %} 0054 </td> 0055 </tr> 0056 <tr class="encrB"> 0057 <td> 0058 {% if block.isDecryptable %} 0059 {% callback content %} 0060 {% else %} 0061 <div style="font-size:x-large; text-align:center; padding:20pt;"> 0062 {% if block.noSecKey %} 0063 {% i18n "No secret key found to decrypt the message. The message is encrypted for the following keys:" %} 0064 <ul style="list-style-type: none;"> 0065 {% for recipient in decryptedRecipients %} 0066 {%if recipient.mainID %} 0067 <li>{{recipient.id}} (<a href="kmail:showCertificate#{{cryptoProto.displayName}} ### {{cryptoProto.name}} ### {{recipient.mainID}}">0x{{recipient.mainID}}</a>)</li> 0068 {% else %} 0069 <li><a href="kmail:showCertificate#{{cryptoProto.displayName}} ### {{cryptoProto.name}} ### {{recipient.keyID}}">0x{{recipient.keyID}}</a> ({% i18n "unknown key" %})</li> 0070 {% endif %} 0071 {% endfor %} 0072 </ul> 0073 {% elif not block.inProgress %} 0074 {% i18n "Could not decrypt the data." %} 0075 {% endif %} 0076 </div> 0077 {% endif %} 0078 </td> 0079 </tr> 0080 <tr class="encrH"> 0081 <td dir="{{global.dir}}">{% i18n "End of encrypted message" %}</td> 0082 </tr> 0083 </table> 0084 {% endif %}