From e192d7b7a55efdfd2f50f5d068a0dfa484e152fa Mon Sep 17 00:00:00 2001 From: Caleb Forbes Davis V Date: Sun, 3 Jul 2011 02:41:39 -0500 Subject: [PATCH] allows admins to edit user media --- mediagoblin/templates/mediagoblin/user_pages/media.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 21506ee4..4dec0641 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -94,7 +94,8 @@ {% include "mediagoblin/utils/prev_next.html" %}

Sidebar content here!

- {% if media['uploader'] == request.user['_id'] %} + {% if media['uploader'] == request.user['_id'] or + request.user['is_admin'] %}