diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-23 13:44:31 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-23 13:44:31 -0600 |
commit | 532ea5509c32d4cd1c234b1dee3799fbe550e3ef (patch) | |
tree | ea5f0db8973e3b266c12b7ea0ada9a52996727aa /templates/mirrors/mirror_details.html | |
parent | 5bfa5b7eee551c14ecee616f1830dc4603497311 (diff) | |
parent | 0aa246b85159bf627873308868cf169868cba569 (diff) |
Merge branch 'archweb-generic2'
Diffstat (limited to 'templates/mirrors/mirror_details.html')
-rw-r--r-- | templates/mirrors/mirror_details.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html index 98755ad2..f2202e38 100644 --- a/templates/mirrors/mirror_details.html +++ b/templates/mirrors/mirror_details.html @@ -2,6 +2,7 @@ {% load static from staticfiles %} {% load mirror_status %} {% load flags %} +{% load admin_urls %} {% block title %}{{ BRANDING_DISTRONAME }} - {{ mirror.name }} - Mirror Details{% endblock %} @@ -9,9 +10,14 @@ {% block content %} <div class="box"> - <h2>Mirror Details: {{ mirror.name }}</h2> + {% if perms.mirrors.change_mirror %} + <ul class="admin-actions"> + <li><a href="{% url 'admin:mirrors_mirror_change' mirror.pk %}" title="Edit mirror">Edit Mirror</a></li> + </ul> + {% endif %} + <table class="compact"> <tr> <th>Name:</th> @@ -106,6 +112,9 @@ {% endfor %} </tbody> </table> + + <h3>Error Log</h3> + {% include "mirrors/error_table.html" %} </div> <div class="box"> |