diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-26 19:47:52 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-26 20:25:15 +0200 |
commit | 104aec272669e496b8c6892d3437fb8412960595 (patch) | |
tree | 647d2ef808a28b29be42d309768f32d4f531ec18 /templates/public | |
parent | 22fc394e3610908f302df4c81e23c9ef7876c621 (diff) | |
download | archweb-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')
-rw-r--r-- | templates/public/developer_list.html | 2 |
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> |