Merge branch 'master' into grnetstyles
[astakos] / astakos / im / templates / invitations.html
index 16b6f46..3c1ec2d 100644 (file)
@@ -3,7 +3,8 @@
 {% load formatters %}
 
 {% block body %}
-  <h3>You have {{ user.invitations }} invitation{{ user.invitations|pluralize }} left.</h3>
+  <h3>You have {{ inviter.invitations }} invitation{{ inviter.invitations|pluralize }} left.</h3>
+  
   
   <table class="zebra-striped id-sorted">
     <thead>
       {% for inv in sent %}
       <tr>
         <td>{{ inv.email }}</td>
-        <td>{{ inv.realname }} GiB</td>
+        <td>{{ inv.realname }}</td>
         <td>{{ inv.is_consumed }}</td>
       </tr>
       {% endfor %}
     </tbody>
   </table>
 
-  {% if user.invitations %}
+ {% if inviter.invitations %}
   <br />
   <h4>Invite someone else:</h4>
   <form action="{% url astakos.im.views.invite %}" method="post"