From 104aec272669e496b8c6892d3437fb8412960595 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 26 Apr 2012 12:47:52 -0500 Subject: 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 --- templates/devel/clock.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/devel') diff --git a/templates/devel/clock.html b/templates/devel/clock.html index 5bb092f..61e67c3 100644 --- a/templates/devel/clock.html +++ b/templates/devel/clock.html @@ -32,7 +32,7 @@ {{ dev.get_full_name }} {{ dev.username }} {{ dev.userprofile.alias }} - {{ dev.userprofile.location }} + {% if dev.userprofile.country %}{{ dev.userprofile.country.name }} {% endif %}{{ dev.userprofile.location }} {{ dev.userprofile.time_zone }} {{ utc_now|timezone:dev.userprofile.time_zone|date:"Y-m-d H:i T" }} -- cgit v1.2.3-24-g4f1b