From 0b930fd92140858f4ad21e593feb057996af9b95 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 16 Jan 2013 00:36:17 -0600 Subject: Convert all usages of flag icons to new sprite 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 --- templates/public/developer_list.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/public/developer_list.html') diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html index df4137e..4401d97 100644 --- a/templates/public/developer_list.html +++ b/templates/public/developer_list.html @@ -1,3 +1,4 @@ +{% load flags %} {% load pgp %}
@@ -56,7 +57,7 @@ {% if prof.yob %}{{ prof.yob }}{% endif %} Location: - {% if dev.userprofile.country %}{{ dev.userprofile.country.name }} {% endif %}{{ prof.location }} + {% country_flag dev.userprofile.country %}{{ prof.location }} Languages: {{ prof.languages }} -- cgit v1.2.3-24-g4f1b