summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-29 02:15:27 -0500
committerDan McGee <dan@archlinux.org>2011-03-29 02:15:27 -0500
commit6fa773bcabe64f1f413fb2796078380fd3abf895 (patch)
tree05156964c1791d9253ed8639b7e5127911bd8959 /templates
parent6ac07fd26965dc6b4e6415b8f5f7454cc64b1082 (diff)
Link email address if available
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-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 ae7ec63f..1795d0f5 100644
--- a/templates/mirrors/mirror_details.html
+++ b/templates/mirrors/mirror_details.html
@@ -41,7 +41,7 @@
</tr>
<tr>
<th>Admin Email:</th>
- <td>{{ mirror.admin_email }}</td>
+ <td>{% if mirror.admin_email %}<a href="mailto:{{ mirror.admin_email }}">{{ mirror.admin_email }}</a>{% else %}None{% endif %}</td>
</tr>
<tr>
<th>Notes:</th>