]> git.ipfire.org Git - ipfire.org.git/blob - templates/talk/trunks.html
donate: Fix PayPal locale
[ipfire.org.git] / templates / talk / trunks.html
1 {% extends "../base.html" %}
2
3 {% block title %}{{ _("Trunks") }}{% end block %}
4
5 {% block body %}
6 <h3>{{ _("Trunks") }}</h3>
7 <table class="table table-hover table-striped">
8 <thead>
9 <tr>
10 <th></th>
11 <th>{{ _("Name") }}</th>
12 <th>{{ _("Registrar") }}</th>
13 </tr>
14 </thead>
15 <tbody>
16 {% for trunk in trunks %}
17 <tr>
18 <td>
19 {% if trunk.status == "online" %}
20 <span class="glyphicon glyphicon-ok text-success" title="{{ _("online") }}"></span>
21 {% elif trunk.status == "offline" or trunk.status is None %}
22 <span class="glyphicon glyphicon-remove text-danger" title="{{ _("offline") }}"></span>
23 {% else %}
24 {{ trunk.status }}
25 {% end %}
26 </td>
27 <td>{{ trunk.description or trunk.account }}</td>
28 <td>{{ trunk.username }}@{{ trunk.registrar }}</td>
29 </tr>
30 {% end %}
31 </tbody>
32 </table>
33 {% end block %}