diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-25 09:34:18 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-25 09:34:18 +0200 |
commit | 021e7717e0dcdb5a18271b60446e2aa5edec5833 (patch) | |
tree | 05fc2bb3b9200483a7f7cab562ab256b70e9a055 /templates/mirrors | |
parent | 952eba9625c5222e1eee77f711ecb3996998bafb (diff) | |
download | archweb-021e7717e0dcdb5a18271b60446e2aa5edec5833.tar.gz archweb-021e7717e0dcdb5a18271b60446e2aa5edec5833.tar.xz |
Add country flag to individual mirror details page
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors')
-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 6fe68f3..3218cdc 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> |