commit 0f4a8a683745a60d22a61d702d489915feef1dcc Author: Olga Brani Date: Wed May 2 17:14:18 2012 +0300 New html styles diff --git a/snf-astakos-app/astakos/im/templates/im/invitations.html b/snf-astakos-app/astakos/im/templates/im/invitations.html index 5d75ef3..31ff8d3 100644 --- a/snf-astakos-app/astakos/im/templates/im/invitations.html +++ b/snf-astakos-app/astakos/im/templates/im/invitations.html @@ -1,48 +1,50 @@ {% extends "im/account_base.html" %} {% block page.body %} -
-
-

You have {{ inviter.invitations }} invitation{{ inviter.invitations|pluralize }} left.

- {% if sent|length %} - - - - - - - - - - {% for inv in sent %} - - - - - - {% endfor %} - -
EmailReal NameUsed
{{ inv.email }}{{ inv.realname }}{% if inv.is_consumed %}Yes{% else %}No{% endif %}
- {% else %} -

No invitations sent

- {% endif %} -
+
+
+ {% if inviter.invitations %} +
{% csrf_token %} +

INVITE SOMEONE ELSE

+ {% with invitation_form as form %} + {% include "im/form_render.html" %} + {% endwith %} + +
+ +
+
+ {% endif %} +
+
+ +

You have {{ inviter.invitations }} invitation{{ inviter.invitations|pluralize }} left.

+ {% if sent|length %} + + + + + + + + + + {% for inv in sent %} + + + + + + {% endfor %} + +
EmailReal NameUsed
{{ inv.email }}{{ inv.realname }}{% if inv.is_consumed %}Yes{% else %}No{% endif %}
+ {% else %} +

No invitations sent

+ {% endif %} +
-
- {% if inviter.invitations %} -
{% csrf_token %} -

INVITE SOMEONE ELSE

- {% with invitation_form as form %} - {% include "im/form_render.html" %} - {% endwith %} -
- -
-
- {% endif %} -
{% endblock %}