KevaChat is distributed chat platform for open, uncensored and privacy respectable communication with permanent data storage in blockchain.
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

<form name="room" action="{{ path('room_namespace', { namespace : room.namespace }) }}" method="get">
1 year ago
<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 %}&bull;{% 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
1 year ago
{% 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 %}
#}