From 849f3feae2f8665f511b832d10ea6976763fe5dd Mon Sep 17 00:00:00 2001 From: Leonidas Poulopoulos Date: Tue, 10 Jan 2012 18:09:15 +0200 Subject: [PATCH] Added an error message to user profile for users with no admin networks --- templates/profile.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/profile.html b/templates/profile.html index c0a747c..e4bc345 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -14,6 +14,8 @@ Admin Networks:
{% for network in peer.networks.all %} {{network}}
+ {% empty %} + Ooops! Seems you have no networks associated with your peer. Contact Helpdesk to resolve this issue. {% endfor %} -- 1.7.10.4