summaryrefslogtreecommitdiff
path: root/templates/apps/room/tag.html
blob: 087862f6e77ff00f11423adc03dcf2a64fd83221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends "edit.html" %}
{% load datehumanize %}
{% load roomurl %}
{% block widgets %}

{% endblock %}
{% block formstyle %}
class="form-inline"
{% endblock %}
{% block justbeforeform %}
<div>
    <div class="alert">
        <i class="icon-info-sign"> </i>
        <strong>Note Well</strong> Tags are a way to group related rooms together. Tagging your
        room makes your room show up in public lists of rooms hosted on this service and it
        therefore makes your room visible. This does <em>not</em> mean that anyone can access
        your room.
    </div>
    {% if tags %}
    <div>
        {% for tag in tags %}
        <span class="btn-group">
            <a class="btn btn-small" href="/room/+{{tag}}">{{tag}}</a>&nbsp;
            <a class="btn btn-small btn-warning" href="/room/{{room.id}}/untag/{{tag}}"><i class="icon-remove"></i></a>
        </span>
        {% endfor %}
    </div>
    {% else %}
    <div class="alert">There are no tags yet...</div>
</div>
    {% endif %}
{% endblock %}