From 59f2971da01bdb2e4c7fb8923bfc9c49a17fd6fd Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 3 Oct 2015 18:06:53 +0200 Subject: [PATCH] talk: Hide SIP password if that is empty Signed-off-by: Michael Tremer --- templates/talk/phonebook-contact.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }} -- 2.47.3