mirror of https://github.com/kevachat/webapp.git
phpkevacoinblockchainjs-lesssymfonycommunicationchatwebchatblockchain-chatkevachatdistributed-database
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
<form name="room" action="{{ path('room_namespace', { namespace : room.namespace }) }}" method="get"> |
|
<input type="text" name="namespace" value="{{ room.namespace }}" placeholder="{{ 'join room by kevacoin namespace...' | trans }}" /> |
|
</form> |
|
{% if list %} |
|
{% set i = 0 %} |
|
{% for namespace, name in list %} |
|
{% if i %}•{% endif %} |
|
<h2> |
|
{% if namespace == room.namespace %} |
|
{{ name }} |
|
{% else %} |
|
<a href="{{ path('room_namespace', { namespace : namespace }) }}">{{ name }}</a> |
|
{% endif %} |
|
</h2> |
|
{% set i = i + 1 %} |
|
{% endfor %} |
|
{% endif %} |
|
{# @TODO alternative implementation draft |
|
{% if room.name %} |
|
<h1>{{ room.name }}</h1> |
|
{% endif %} |
|
{% if list %} |
|
<ul> |
|
{% for namespace, name in list %} |
|
<li> |
|
{% if room.namespace == namespace %} |
|
{{ name }} |
|
{% else %} |
|
<a href="{{ namespace }}">{{ name }}</a> |
|
{% endif %} |
|
</li> |
|
{% endfor %} |
|
</ul> |
|
{% endif %} |
|
#} |