Revision 77e2ad52 astakos/im/templates/invitations.html
b/astakos/im/templates/invitations.html | ||
---|---|---|
4 | 4 |
|
5 | 5 |
{% block body %} |
6 | 6 |
<div class="container"> |
7 |
<h3>You have {{ user.invitations }} invitation{{ user.invitations|pluralize }} left.</h3>
|
|
7 |
<h3>You have {{ inviter.invitations }} invitation{{ inviter.invitations|pluralize }} left.</h3>
|
|
8 | 8 |
|
9 | 9 |
<table class="zebra-striped id-sorted"> |
10 | 10 |
<thead> |
... | ... | |
25 | 25 |
</tbody> |
26 | 26 |
</table> |
27 | 27 |
|
28 |
{% if user.invitations %}
|
|
28 |
{% if inviter.invitations %}
|
|
29 | 29 |
<br /> |
30 | 30 |
<h4>Invite someone else:</h4> |
31 | 31 |
<form action="{% url astakos.im.views.invite %}" method="post">{% csrf_token %} |
Also available in: Unified diff