summaryrefslogtreecommitdiffstats
path: root/templates/mirrors
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mirrors')
-rw-r--r--templates/mirrors/mirror_details.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html
index 6f0ac6c..ccd6eb5 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 %}Arch Linux - {{ 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>