diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-25 02:34:18 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-25 02:34:18 -0500 |
commit | 021e7717e0dcdb5a18271b60446e2aa5edec5833 (patch) | |
tree | 05fc2bb3b9200483a7f7cab562ab256b70e9a055 /templates | |
parent | 952eba9625c5222e1eee77f711ecb3996998bafb (diff) |
Add country flag to individual mirror details page
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/mirrors/mirror_details.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html index 6fe68f36..3218cdce 100644 --- a/templates/mirrors/mirror_details.html +++ b/templates/mirrors/mirror_details.html @@ -21,7 +21,7 @@ </tr> <tr> <th>Country:</th> - <td>{{ mirror.country.name|default:'Worldwide' }}</td> + <td>{% if mirror.country %}<img src="{{ mirror.country.flag }}"/> {% endif %}{{ mirror.country.name|default:'Worldwide' }}</td> </tr> <tr> <th>Has ISOs:</th> |