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/public/developer_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/public/developer_list.html') 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 @@ {% if prof.yob %}{{ prof.yob }}{% endif %} Location: - {{ prof.location }} + {% if dev.userprofile.country %}{{ dev.userprofile.country.name }} {% endif %}{{ prof.location }} Languages: {{ prof.languages }} -- cgit v1.2.3-2-g168b From 5f22f4266cd978b4fd80cafb2201e39acaeef3fc Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 26 Apr 2012 14:17:03 -0500 Subject: Developer list styles updates * Make the developer name more prominent in dividing the blocks * Reduce the in-your-faceness of the elements in every section * Other small tweaks Signed-off-by: Dan McGee --- templates/public/developer_list.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'templates/public/developer_list.html') diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html index 37b35b82..00d93a50 100644 --- a/templates/public/developer_list.html +++ b/templates/public/developer_list.html @@ -18,11 +18,9 @@ +

{{ dev.get_full_name }}{% if prof.latin_name %} ({{ prof.latin_name}}){% endif %}

- - - -- cgit v1.2.3-2-g168b From fbbcc8534a25d3e78ef3a319c8aeb127bc5085f0 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 26 Apr 2012 14:44:52 -0500 Subject: Add hover header links to the developer profiles pages This is a lot like you can see in the Python API documentation, and makes it easy to copy a link to a given place on a page. Signed-off-by: Dan McGee --- templates/public/developer_list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/public/developer_list.html') diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html index 00d93a50..376ab433 100644 --- a/templates/public/developer_list.html +++ b/templates/public/developer_list.html @@ -17,8 +17,8 @@ Image for {{ prof.alias }}
Name:{{ dev.get_full_name }}{% if prof.latin_name %} ({{ prof.latin_name}}){% endif %}
Alias: {{ prof.alias }}
- -

{{ dev.get_full_name }}{% if prof.latin_name %} ({{ prof.latin_name}}){% endif %}

+

{{ dev.get_full_name }}{% if prof.latin_name %} ({{ prof.latin_name}}){% endif %} + ΒΆ

-- cgit v1.2.3-2-g168b
Alias: