summaryrefslogtreecommitdiffstats
path: root/templates/public/developer_list.html
blob: 4401d97ba5972d0092a9eaa23bbb281a87815a4e (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{% load flags %}
{% load pgp %}

<div id="arch-bio-toc">
    <p>
    {% for dev in dev_list %}
    <a href="#{{ dev.username }}" title="Jump to profile for {{ dev.get_full_name }}">
        {{ dev.first_name }} {{ dev.last_name }}</a> &nbsp;&nbsp;
    {% endfor %}
    </p>
</div>

<table class="arch-bio-entry">
    {% for dev in dev_list %}
    {% with dev.userprofile as prof %}
    <tr itemscope itemtype="http://schema.org/Person">
        <td class="pic pic-{{ dev.username }}">
            <img itemprop="image" src="{{ prof.picture.url }}" height="125" width="125" alt="Image for {{ prof.alias }}"/>
        </td>
        <td>
            <meta itemprop="name" content="{{ dev.get_full_name|escape }}"/>
            <meta itemprop="givenName" content="{{ dev.first_name|escape }}"/>
            <meta itemprop="familyName" content="{{ dev.last_name|escape }}"/>
            <meta itemprop="jobTitle" content="{{ user_title|escape }}"/>
            <div style="display:none" itemprop="memberOf" itemscope itemtype="http://schema.org/Organization">
                <meta itemprop="name" content="Arch Linux"/>
            </div>
            <h3>{{ dev.get_full_name }}{% if prof.latin_name %} ({{ prof.latin_name}}){% endif %}
            <a class="headerlink" name="{{ dev.username }}" id="{{ dev.username }}" href="#{{ dev.username }}" title="Permalink"></a></h3>
            <table class="bio bio-{{ dev.username }}">
                <tr>
                    <th>Alias:</th>
                    <td itemprop="additionalName">{{ prof.alias }}</td>
                </tr><tr>
                    <th>Email:</th>
                    <td>{{ prof.public_email }}</td>
                </tr><tr>
                    <th>Other Contact:</th>
                    <td>{{ prof.other_contact }}</td>
                </tr><tr>
                    <th>PGP Key:</th>
                    <td>{% pgp_key_link prof.pgp_key %}</td>
                </tr><tr>
                    <th>Roles:</th>
                    <td>{{ prof.roles }}<br />
                    </td>
                </tr><tr>
                    <th>Website:</th>
                    <td>{% if prof.website %}<a itemprop="url" href="{{ prof.website }}"
                            title="Visit the website for {{ dev.get_full_name }}">
                            {{ prof.website }}</a>{% endif %}</td>
                </tr><tr>
                    <th>Occupation:</th>
                    <td>{{ prof.occupation }}</td>
                </tr><tr>
                    <th>YOB:</th>
                    <td itemprop="birthDate">{% if prof.yob %}{{ prof.yob }}{% endif %}</td>
                </tr><tr>
                    <th>Location:</th>
                    <td>{% country_flag dev.userprofile.country %}{{ prof.location }}</td>
                </tr><tr>
                    <th>Languages:</th>
                    <td>{{ prof.languages }}</td>
                </tr><tr>
                    <th>Interests:</th>
                    <td>{{ prof.interests }}</td>
                </tr><tr>
                    <th>Favorite Distros:</th>
                    <td>{{ prof.favorite_distros }}</td>
                </tr>
            </table>
        </td>
    </tr>
    {% endwith %}
    {% endfor %}
</table>