From: Michael Tremer Date: Sat, 18 May 2019 12:05:02 +0000 (+0100) Subject: people: Fix link which referenced the wrong account X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=508c4e2f1890ec2a61d658a03323c036bd1f2315;p=ipfire.org.git people: Fix link which referenced the wrong account Signed-off-by: Michael Tremer --- 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 %}