diff options
author | Leif Johansson <leifj@sunet.se> | 2010-08-02 11:25:15 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2010-08-02 11:25:15 +0200 |
commit | 3a5496221f00215e9bc995a7a7152debf36ed1f2 (patch) | |
tree | d58d9b48f36b8e09ca4ec2188efed8ffc140e5a1 /templates/apps | |
parent | 333bc65fa1f68536a7e7f47a8a9e490fac571c30 (diff) |
show empty-message when lists are empty
Diffstat (limited to 'templates/apps')
-rw-r--r-- | templates/apps/userprofile/home.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/apps/userprofile/home.html b/templates/apps/userprofile/home.html index fa81009..b97b5d8 100644 --- a/templates/apps/userprofile/home.html +++ b/templates/apps/userprofile/home.html @@ -30,6 +30,8 @@ $(function() { <a href="/name/id/{{m.name.id}}">More details about {{m.name.shortname}}...</a> </div> </div> + {% empty %} + <p style="padding: 5px;" class="ui-corner-all ui-state-highlight">You are not a member of any names</p> {% endfor %} </div> <h3>Names</h3> @@ -42,6 +44,8 @@ $(function() { <a href="/name/id/{{n.id}}">More details about {{n.shortname}}...</a> </div> </div> + {% empty %} + <p style="padding: 5px;" class="ui-corner-all ui-state-highlight">You do not own any names</p> {% endfor %} </div> {% endblock %}
\ No newline at end of file |