]> git.ipfire.org Git - ipfire.org.git/commitdiff
talk: Show all ongoing calls on index page for admins
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 May 2015 11:42:39 +0000 (13:42 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 May 2015 11:42:39 +0000 (13:42 +0200)
templates/talk/index.html

index e2bed372abb331bcd8b0d1ddb7903bfccb8b7dd8..51f4cc90547b39229fd476f6aa852ade9b698a94 100644 (file)
                </div>
        {% 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 %}