From 508c4e2f1890ec2a61d658a03323c036bd1f2315 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 18 May 2019 13:05:02 +0100 Subject: [PATCH] people: Fix link which referenced the wrong account Signed-off-by: Michael Tremer --- src/templates/people/base.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/templates/people/base.html b/src/templates/people/base.html index f8189e90..db9ae164 100644 --- a/src/templates/people/base.html +++ b/src/templates/people/base.html @@ -33,12 +33,12 @@ {% end %} - {% if current_user.has_sip() %} - + {% if account.has_sip() %} + {{ _("Calls") }} - {% if current_user.sip_channels %} - {{ len(current_user.sip_channels) }} + {% if account.sip_channels %} + {{ len(account.sip_channels) }} {% end %} {% end %} -- 2.47.2