85657db05d
Add a 'latin_name' field to the user profile so we can better support those developers with names in non-Latin scripts, and yet still show a Latin name as necessary on the developer profile page. This field only shows up if populated. Also, use consistent sorting everywhere- rather than using username, always use first_name and last_name fields. Signed-off-by: Dan McGee <dan@archlinux.org>
71 lines
2.5 KiB
HTML
71 lines
2.5 KiB
HTML
{% 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>
|
|
{% endfor %}
|
|
</p>
|
|
</div>
|
|
|
|
<table class="arch-bio-entry">
|
|
{% for dev in dev_list %}
|
|
{% with dev.userprofile as prof %}
|
|
<tr>
|
|
<td class="pic pic-{{ dev.username }}">
|
|
<img src="{{ prof.picture.url }}" height="125" width="125" alt="Image for {{ prof.alias }}"/>
|
|
</td>
|
|
<td>
|
|
<a name="{{ dev.username }}"></a>
|
|
<table class="bio bio-{{ dev.username }}" cellspacing="0">
|
|
<tr>
|
|
<th>Name:</th>
|
|
<td>{{ dev.get_full_name }}{% if prof.latin_name %} ({{ prof.latin_name}}){% endif %}</td>
|
|
</tr><tr>
|
|
<th>Alias:</th>
|
|
<td>{{ 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 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>{% if prof.yob %}{{ prof.yob }}{% endif %}</td>
|
|
</tr><tr>
|
|
<th>Location:</th>
|
|
<td>{{ 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>
|