diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-05-17 13:00:21 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-05-17 13:00:21 +0200 |
commit | ab60a8ea86e2b4d0174a4bcdd6a7c1abdb78f9e5 (patch) | |
tree | 48714e22497cf5a3c9d607b6d53e621159f88d28 /hyperkitty/templates | |
parent | 9f7faaf261dab699cb0ab386ad29a650b6c61e08 (diff) | |
download | hyperkitty-ab60a8ea86e2b4d0174a4bcdd6a7c1abdb78f9e5.tar.gz hyperkitty-ab60a8ea86e2b4d0174a4bcdd6a7c1abdb78f9e5.tar.xz hyperkitty-ab60a8ea86e2b4d0174a4bcdd6a7c1abdb78f9e5.zip |
Dynamically insert replies in the thread
Closes: #47
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/messages/temp_message.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/hyperkitty/templates/messages/temp_message.html b/hyperkitty/templates/messages/temp_message.html new file mode 100644 index 0000000..f518114 --- /dev/null +++ b/hyperkitty/templates/messages/temp_message.html @@ -0,0 +1,38 @@ +{% load url from future %} +{% load gravatar %} +{% load hk_generic %} + +<div class="temporary" + {% if email.level %}style="margin-left:{{ email.level|multiply:"2" }}em;"{% endif %}> + <!-- Start email --> + <div class="email"> + + <div class="email-header"> + <div class="email-date inline-block pull-right"> + <span class="date">Sent just now, not yet distributed</span> + </div> + <div class="gravatar{% if use_mockups %} pull-left{% endif %}"> + {% gravatar email.sender_email 40 %} + </div> + <div class="email-author inline-block"> + <span class="name">{{email.sender_name|escapeemail}}</span> + {% if use_mockups %} + <br /> + <span class="rank"> + Rank 8 + </span> + {% endif %} + </div> + </div> + + <div class="email-body" + >{{ email.content|snip_quoted|wordwrap:90|urlizetrunc:76|escapeemail }}</div> + + <div class="email-info"> + </div> + + </div> + <!-- End of email --> +</div> + +{# vim: set noet: #} |