Show the room JID (since it differs from the name)

This commit is contained in:
Adrian Moennich 2014-10-08 17:32:22 +02:00
parent 47c88e41f9
commit 1fc1de771d
2 changed files with 7 additions and 3 deletions

View File

@ -14,8 +14,10 @@
<strong><a class="dropDownMenu highlight js-chat-join" href="#" data-server="{{ server }}" data-room="{{ chatroom.jid_node }}">{% trans %}Join now!{% endtrans %}</a></strong>
{% endif %}
<dl class="chat-details" style="display: none;">
<dt>{% trans %}Name{% endtrans %}:</dt>
<dd>{{ chatroom.name }}</dd>
{% if chatroom.jid_node != chatroom.name.lower() %}
<dt>JID:</dt>
<dd>{{ chatroom.jid_node }}</dd>
{% endif %}
<dt>{% trans %}Server{% endtrans %}:</dt>
<dd>{{ chatroom.server }}</dd>
{% if chatroom.description %}

View File

@ -3,7 +3,8 @@
<table class="infoTable" width="100%" align="center" border="0" cellspacing="0">
<thead>
<tr>
<td class="tableHeader">{% trans %}Room{% endtrans %}</td>
<td class="tableHeader">{% trans %}Name{% endtrans %}</td>
<td class="tableHeader">{% trans %}JID{% endtrans %}</td>
<td class="tableHeader">{% trans %}Server{% endtrans %}</td>
{% if 'description' in cols -%}
<td class="tableHeader">{% trans %}Description{% endtrans %}</td>
@ -23,6 +24,7 @@
<tr class="infoTR" style="vertical-align: baseline;">
<td class="infoTD">{{ chatroom.name }}</td>
<td class="infoTD">{{ chatroom.jid_node }}</td>
<td class="infoTD">{{ server }}</td>
{% if 'description' in cols -%}
<td class="infoTD">{{ chatroom.description }}</td>