From 6103bcf05feeddace63fcc5857665d3762e25c8b Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Sat, 10 Aug 2013 17:47:49 -0400 Subject: Add email and subscriptions to the user profile --- .../templates/fragments/user_subscriptions.html | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 hyperkitty/templates/fragments/user_subscriptions.html (limited to 'hyperkitty/templates/fragments/user_subscriptions.html') diff --git a/hyperkitty/templates/fragments/user_subscriptions.html b/hyperkitty/templates/fragments/user_subscriptions.html new file mode 100644 index 0000000..ef661c2 --- /dev/null +++ b/hyperkitty/templates/fragments/user_subscriptions.html @@ -0,0 +1,39 @@ +{% load url from future %} +{% load hk_generic %} + + {% if subscriptions %} + + + + + + + + + + + + {% for sub in subscriptions %} + + + {% if sub.first_post %} + + + + + {% else %} + + {% endif %} + + {% endfor %} + +
ListTime of first activityFirst postPosts to this listVotes
+ {{ sub.list_name }} + + {{ sub.first_post|get_date|date:"l, j F Y H:i:s" }} + {{ sub.first_post|get_date|timesince }} + {{ sub.first_post.subject }}{{ sub.posts_count }} post{{ sub.posts_count|pluralize }}+{{ sub.likes }}/-{{ sub.dislikes }}no post yet
+ {% else %} +

no subscriptions

+ {% endif %} + -- cgit