summaryrefslogtreecommitdiff
path: root/templates/public/developer_list.html
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-21 02:22:44 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-21 02:22:44 -0400
commit03fa7e4f27bdb39a8f8f5ed91a87d18bf8357b47 (patch)
treec67eafcbda55706f18400b3115a2b8a5be318394 /templates/public/developer_list.html
parent91c451821ce7000cbc268cec8427d208a6cedd7e (diff)
parentb8ee7b1ee281b45b245fb454228b8ad847c56200 (diff)
Merge branch 'archweb' into archweb-generic2
Conflicts: devel/views.py feeds.py public/views.py settings.py sitestatic/archweb.js templates/base.html templates/devel/profile.html templates/mirrors/status.html templates/news/view.html templates/packages/flaghelp.html templates/packages/opensearch.xml templates/public/download.html templates/public/feeds.html templates/public/index.html templates/registration/login.html templates/releng/results.html templates/todolists/public_list.html
Diffstat (limited to 'templates/public/developer_list.html')
-rw-r--r--templates/public/developer_list.html20
1 files changed, 14 insertions, 6 deletions
diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html
index 376ab433..4401d97b 100644
--- a/templates/public/developer_list.html
+++ b/templates/public/developer_list.html
@@ -1,3 +1,4 @@
+{% load flags %}
{% load pgp %}
<div id="arch-bio-toc">
@@ -12,17 +13,24 @@
<table class="arch-bio-entry">
{% for dev in dev_list %}
{% with dev.userprofile as prof %}
- <tr>
+ <tr itemscope itemtype="http://schema.org/Person">
<td class="pic pic-{{ dev.username }}">
- <img src="{{ prof.picture.url }}" height="125" width="125" alt="Image for {{ prof.alias }}"/>
+ <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>{{ prof.alias }}</td>
+ <td itemprop="additionalName">{{ prof.alias }}</td>
</tr><tr>
<th>Email:</th>
<td>{{ prof.public_email }}</td>
@@ -38,7 +46,7 @@
</td>
</tr><tr>
<th>Website:</th>
- <td>{% if prof.website %}<a href="{{ prof.website }}"
+ <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>
@@ -46,10 +54,10 @@
<td>{{ prof.occupation }}</td>
</tr><tr>
<th>YOB:</th>
- <td>{% if prof.yob %}{{ prof.yob }}{% endif %}</td>
+ <td itemprop="birthDate">{% if prof.yob %}{{ prof.yob }}{% endif %}</td>
</tr><tr>
<th>Location:</th>
- <td>{% if dev.userprofile.country %}<img src="{{ dev.userprofile.country.flag }}" alt="{{ dev.userprofile.country.name }}"/> {% endif %}{{ prof.location }}</td>
+ <td>{% country_flag dev.userprofile.country %}{{ prof.location }}</td>
</tr><tr>
<th>Languages:</th>
<td>{{ prof.languages }}</td>