mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Display connection state for luser
This commit is contained in:
parent
6617d6a000
commit
745a30280c
1 changed files with 7 additions and 4 deletions
|
@ -187,9 +187,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<dt>{% trans "Room" %}</dt>
|
<dt>{% trans "Room" %}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
{{ users.room }} {% can_view_all Port %}{% if users.room.port_set.all %} /
|
{{ users.room }} {% if users.room.port_set.all %}{% can_view_all Port %}/
|
||||||
{{ users.room.port_set.all|join:", " }} {% endif %}{% acl_end %}
|
{{ users.room.port_set.all|join:", " }} {% acl_else %}
|
||||||
</dd>
|
<i class="text-success">{% trans "Connected" %}</i>{% acl_end %}
|
||||||
|
{% else %}{% if users.room %}<i class="text-danger">{% trans "Pending connection..." %}</i>{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
|
@ -222,7 +225,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
{% if users.end_adhesion != None %}
|
{% if users.end_adhesion != None %}
|
||||||
<dd><i class="text-success">{{ users.end_adhesion }}</i></dd>
|
<dd><i class="text-success">{{ users.end_adhesion }}</i></dd>
|
||||||
{% else %}
|
{% else %}
|
||||||
<dd><i class="text-danger">{% trans "Not a member" %}</i></dd>
|
<dd><i class="text-danger">{% trans "not a member" %}</i></dd>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue