From: Charles Connell Date: Tue, 20 May 2014 23:07:27 +0000 (-0400) Subject: Always allow staff to edit notes X-Git-Tag: release-20150131~35 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=38f196fb035a61f851e16315e74d30f205cf3e66;p=oweals%2Fkarmaworld.git Always allow staff to edit notes --- diff --git a/karmaworld/templates/notes/note_base.html b/karmaworld/templates/notes/note_base.html index 4b1593a..00bd48c 100644 --- a/karmaworld/templates/notes/note_base.html +++ b/karmaworld/templates/notes/note_base.html @@ -150,7 +150,7 @@ {% endif %} - {% if note.user == request.user %} + {% if note.user == request.user or user.is_staff %}    {% endif %}