divide admin and users
This commit is contained in:
parent
7e4c104a56
commit
19665c557f
3 changed files with 46 additions and 11 deletions
|
@ -212,8 +212,8 @@
|
|||
</script>
|
||||
|
||||
{% endblock js_media %}
|
||||
<!--
|
||||
{% block media %}
|
||||
|
||||
<!-- {% block media %}
|
||||
<style>
|
||||
</style>
|
||||
{% endblock media %}
|
||||
|
@ -246,11 +246,27 @@
|
|||
<i class="fa fa-wifi"></i>
|
||||
</h3>
|
||||
<ul id="chat-online-content">
|
||||
{% for user in online_users %}
|
||||
<li>
|
||||
<span class="dot"></span>
|
||||
<h4>{{_('Admins')}}: </h4>
|
||||
<hr/>
|
||||
{% for user in admin_status %}
|
||||
<li style="padding-left: 1em">
|
||||
{% if user.is_online %}
|
||||
<span class="green-dot"></span>
|
||||
{% else %}
|
||||
<span class="red-dot"></span>
|
||||
{% endif %}
|
||||
<span style="padding-left:0.25em">
|
||||
{{ link_user(user) }}
|
||||
{{ link_user(user.user) }}
|
||||
</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
<h4 style="margin-top:1em;">{{_('Users')}}: </h4>
|
||||
<hr/>
|
||||
{% for user in online_users %}
|
||||
<li style="padding-left: 1em">
|
||||
<span class="green-dot"></span>
|
||||
<span style="padding-left:0.25em">
|
||||
{{ link_user(user.user) }}
|
||||
</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue