From 8c614b4abb2ae0b0474744420aab6ba86383a3e9 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 21 May 2013 20:35:50 -0500 Subject: Add 'Edit Mirror' link to mirror details page For those that have permissions to do so. Makes it a heck of a lot easier to navigate around and enable or disable mirrors as necessary. Signed-off-by: Dan McGee --- templates/mirrors/mirror_details.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'templates') 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 %}
-

Mirror Details: {{ mirror.name }}

+ {% if perms.mirrors.change_mirror %} + + {% endif %} + -- cgit v1.2.3-24-g4f1b
Name: