]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/talk/phonebook.html
basic styling talk.ipfire.org
[people/shoehn/ipfire.org.git] / templates / talk / phonebook.html
CommitLineData
66862195
MT
1{% extends "../base.html" %}
2
3{% block title %}{{ _("Phonebook") }}{% end block %}
4
5{% block body %}
66862195 6
729c06b8
SH
7<div class="container">
8 <section class="features-content col-12">
9 <h2 class="display-2 text-center">{{ _("Phonebook") }}</h2>
10
11 <div class="row">
12 <div class="col-12">
13 <table class="table table-sm table-striped">
14 <thead>
15 <tr>
16 <th scope="col">Name</th>
17 <th scope="col">eMail</th>
18 <th scope="col">Phone</th>
19 <th scope="col">Gravatar</th>
20 </tr>
21 </thead>
22 <tbody>
23 {% for e in phonebook %}
24 <tr>
25 <td><a href="/phonebook/{{ e.uid }}">{{ e.name }}</a></td>
26 <td>
27 <i class="fa fa-envelope" aria-hidden="true"></i> <a href="mailto:{{ e.email }}">{{ e.email }}</a></td>
28 <td>
29 {% if e.sip_id %}
30 <i class="fa fa-phone" aria-hidden="true"></i>
31 {% if e.uses_sip_forwarding() %}
32 {{ e.sip_id }}
33 {% elif e.sip_is_online() %}
34 <a href="/call/{{ e.sip_id }}">{{ e.sip_id }}</a>
35 {% else %}
36 {{ e.sip_id }}
66862195 37 {% end %}
729c06b8
SH
38 {% end %}
39 </td>
40 <td><a href="/phonebook/{{ e.uid }}"><img src="{{ e.gravatar_icon(64) }}" alt="{{ e.name }}"></a></td>
41 </tr>
42 {% end %}
43 </tbody>
44 </table>
45 </div>
46 </div>
47 </section>
48</div>
66862195 49{% end block %}