diff options
| author | Aurélien Bompard <aurelien@bompard.org> | 2013-08-10 17:47:49 -0400 |
|---|---|---|
| committer | Aurélien Bompard <aurelien@bompard.org> | 2013-08-15 11:11:22 +0000 |
| commit | 6103bcf05feeddace63fcc5857665d3762e25c8b (patch) | |
| tree | 8c025f22fa12d9927850d04e628c379e66eb9f91 /hyperkitty/templates/user_public_profile.html | |
| parent | 5ad794b6425a08550a7d68f76e201ebfdad13dfc (diff) | |
| download | hyperkitty-6103bcf05feeddace63fcc5857665d3762e25c8b.tar.gz hyperkitty-6103bcf05feeddace63fcc5857665d3762e25c8b.tar.xz hyperkitty-6103bcf05feeddace63fcc5857665d3762e25c8b.zip | |
Add email and subscriptions to the user profile
Diffstat (limited to 'hyperkitty/templates/user_public_profile.html')
| -rw-r--r-- | hyperkitty/templates/user_public_profile.html | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/hyperkitty/templates/user_public_profile.html b/hyperkitty/templates/user_public_profile.html index 4172969..d949270 100644 --- a/hyperkitty/templates/user_public_profile.html +++ b/hyperkitty/templates/user_public_profile.html @@ -41,41 +41,7 @@ <div class="clearfix"></div> <h3>Subscriptions</h3> - {% if subscriptions %} - <table class="table table-striped table-bordered table-condensed subscriptions"> - <thead> - <tr> - <th>List</th> - <th>Time of first activity</th> - <th>First post</th> - <th>Posts to this list</th> - <th>Votes</th> - </tr> - </thead> - <tbody> - {% for sub in subscriptions %} - <tr> - <td> - <a href="{% url 'list_overview' sub.list_name %}">{{ sub.list_name }}</a> - </td> - {% if sub.first_post %} - <td> - {{ sub.first_post|get_date|date:"l, j F Y H:i:s" }} - {{ sub.first_post|get_date|timesince }} - </td> - <td>{{ sub.first_post.subject }}</td> - <td><a href="{{ sub.all_posts_url }}">{{ sub.posts_count }} post{{ sub.posts_count|pluralize }}</a></td> - <td><span class="likestatus {{ sub.likestatus }}">+{{ sub.likes }}/-{{ sub.dislikes }}</span></td> - {% else %} - <td colspan="4" style="text-align:center"><em>no post yet</em></td> - {% endif %} - </tr> - {% endfor %} - </tbody> - </table> - {% else %} - <p><em>no subscriptions</em></p> - {% endif %} + {% include "fragments/user_subscriptions.html" %} </div> |
