diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-05-20 15:32:52 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-20 22:10:56 +0200 |
commit | 7293b7e8e7c0efddf4a8461440d49418a5b78fe1 (patch) | |
tree | eb2733035573b1ee1d92d04d3e232da2962b7f7e /themes/alps/message.html | |
parent | 1e109b7ac3043855e90e7c3ac2e63faba598df63 (diff) | |
download | alps-7293b7e8e7c0efddf4a8461440d49418a5b78fe1.tar.gz alps-7293b7e8e7c0efddf4a8461440d49418a5b78fe1.zip |
alps theme: add button to load remote content
Diffstat (limited to 'themes/alps/message.html')
-rw-r--r-- | themes/alps/message.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/alps/message.html b/themes/alps/message.html index 6e88297..521e835 100644 --- a/themes/alps/message.html +++ b/themes/alps/message.html @@ -168,6 +168,16 @@ <td>{{template "addr-list" .Message.Envelope.Bcc}}</td> </tr> {{ end }} + {{if and .Extra.HasRemoteResources (not .Extra.RemoteResourcesAllowed)}} + <tr class="remote-content"> + <td colspan="2"> + This message contains remote content, such as external images. + <a href="?part={{.Part.PathString}}&allow-remote-resources=1"> + Load remote content ยป + </a> + </td> + </tr> + {{end}} </table> <section class="parts"> {{template "message-part-tree" (tuple $ .Message.PartTree)}} |