From: Michael Tremer Date: Sun, 31 May 2015 11:42:39 +0000 (+0200) Subject: talk: Show all ongoing calls on index page for admins X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30d0aff508ffbcfe694556edfc1edfc0314771fa;p=ipfire.org.git talk: Show all ongoing calls on index page for admins --- diff --git a/templates/talk/index.html b/templates/talk/index.html index e2bed372..51f4cc90 100644 --- a/templates/talk/index.html +++ b/templates/talk/index.html @@ -44,7 +44,11 @@ {% end %} - {% module TalkOngoingCalls(current_user) %} + {% if current_user and current_user.is_admin() %} + {% module TalkOngoingCalls() %} + {% else %} + {% module TalkOngoingCalls(current_user) %} + {% end %} {% module TalkCallLog(current_user) %} {% end block %}