summaryrefslogtreecommitdiffstats
path: root/templates/public/developer_list.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-26 19:47:52 +0200
committerDan McGee <dan@archlinux.org>2012-04-26 20:25:15 +0200
commit104aec272669e496b8c6892d3437fb8412960595 (patch)
tree647d2ef808a28b29be42d309768f32d4f531ec18 /templates/public/developer_list.html
parent22fc394e3610908f302df4c81e23c9ef7876c621 (diff)
downloadarchweb-104aec272669e496b8c6892d3437fb8412960595.tar.gz
archweb-104aec272669e496b8c6892d3437fb8412960595.tar.xz
Add migration to auto-populate developer countries, display flags
Add a quick and dirty migration to derive country info from the developer-provided timezone, and display the flag next to the location if we have it available on the clocks and developer profiles pages. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/developer_list.html')
-rw-r--r--templates/public/developer_list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html
index 83c6295..37b35b8 100644
--- a/templates/public/developer_list.html
+++ b/templates/public/developer_list.html
@@ -51,7 +51,7 @@
<td>{% if prof.yob %}{{ prof.yob }}{% endif %}</td>
</tr><tr>
<th>Location:</th>
- <td>{{ prof.location }}</td>
+ <td>{% if dev.userprofile.country %}<img src="{{ dev.userprofile.country.flag }}" alt="{{ dev.userprofile.country.name }}"/> {% endif %}{{ prof.location }}</td>
</tr><tr>
<th>Languages:</th>
<td>{{ prof.languages }}</td>