summaryrefslogtreecommitdiffstats
path: root/templates/mirrors
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-25 09:34:18 +0200
committerDan McGee <dan@archlinux.org>2012-04-25 09:34:18 +0200
commit021e7717e0dcdb5a18271b60446e2aa5edec5833 (patch)
tree05fc2bb3b9200483a7f7cab562ab256b70e9a055 /templates/mirrors
parent952eba9625c5222e1eee77f711ecb3996998bafb (diff)
downloadarchweb-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.html2
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>