summaryrefslogtreecommitdiff
path: root/templates/public/developer_list.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-16 00:36:17 -0600
committerDan McGee <dan@archlinux.org>2013-01-16 00:36:17 -0600
commit0b930fd92140858f4ad21e593feb057996af9b95 (patch)
treedcfb6220b0b7d8342b0072492b85407a71caf4f2 /templates/public/developer_list.html
parent1f9aef78f39c90191eddf2233c278086a15052de (diff)
Convert all usages of flag icons to new spriterelease_2013-01-18
This uses a new template tag to avoid repeating construction of the necessary HTML element all over the place. The site should look exactly as it did before, except now you don't have to download 20+ images to see some pages. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/developer_list.html')
-rw-r--r--templates/public/developer_list.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html
index df4137eb..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">
@@ -56,7 +57,7 @@
<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>