]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/people/base.html
people: Move ongoing calls into calls section
[ipfire.org.git] / src / templates / people / base.html
index 342974a19cd5b6bcaa528d7853caea5864bf9178..4b84dbcdb08ce2b770d55f5fbbfb45e5e6559753 100644 (file)
                                <li class="nav-item">
                                        <a class="nav-link {% if request.path.startswith("/users/%s/calls" % current_user.uid) %}active{% end %}" href="/users/{{ current_user.uid }}/calls">
                                                {{ _("My Calls") }}
+
+                                               {% if current_user.sip_channels %}
+                                                       <span class="badge badge-primary ml-2">{{ len(current_user.sip_channels) }}</span>
+                                               {% end %}
                                        </a>
                                </li>