From: Michael Tremer Date: Sat, 3 Oct 2015 16:06:53 +0000 (+0200) Subject: talk: Hide SIP password if that is empty X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59f2971da01bdb2e4c7fb8923bfc9c49a17fd6fd;p=ipfire.org.git talk: Hide SIP password if that is empty Signed-off-by: Michael Tremer --- diff --git a/templates/talk/phonebook-contact.html b/templates/talk/phonebook-contact.html index 6d203f0f..7c109f14 100644 --- a/templates/talk/phonebook-contact.html +++ b/templates/talk/phonebook-contact.html @@ -39,7 +39,7 @@ - {% if current_user == account or current_user.is_admin() %} + {% if account.sip_password and (current_user == account or current_user.is_admin()) %}
  • {{ _("Password") }}: {{ account.sip_password }}