diff options
Diffstat (limited to 'hyperkitty/templates/ajax')
-rw-r--r-- | hyperkitty/templates/ajax/replies.html | 13 | ||||
-rw-r--r-- | hyperkitty/templates/ajax/temp_message.html | 38 |
2 files changed, 51 insertions, 0 deletions
diff --git a/hyperkitty/templates/ajax/replies.html b/hyperkitty/templates/ajax/replies.html new file mode 100644 index 0000000..7b6fc70 --- /dev/null +++ b/hyperkitty/templates/ajax/replies.html @@ -0,0 +1,13 @@ +{% load url from future %} +{% load hk_generic %} + + {% for email in replies %} + <div class="{% cycle 'even' 'odd' %}" + {% if email.level %}style="margin-left:{{ email.level|multiply:"2" }}em;"{% endif %}> + <!-- Start email --> + {% include 'messages/message.html' %} + <!-- End of email --> + </div> + {% endfor %} + +{# vim: set noet: #} diff --git a/hyperkitty/templates/ajax/temp_message.html b/hyperkitty/templates/ajax/temp_message.html new file mode 100644 index 0000000..f518114 --- /dev/null +++ b/hyperkitty/templates/ajax/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: #} |