diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-26 12:47:52 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-26 13:25:15 -0500 |
commit | 104aec272669e496b8c6892d3437fb8412960595 (patch) | |
tree | 647d2ef808a28b29be42d309768f32d4f531ec18 /templates/public | |
parent | 22fc394e3610908f302df4c81e23c9ef7876c621 (diff) |
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 83c62952..37b35b82 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> |