mediagoblin/templates/mediagoblin/user_pages/collection.html: fix typo
authorAlon Levy <alon@pobox.com>
Sun, 1 Dec 2013 16:22:19 +0000 (10:22 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 1 Dec 2013 16:24:07 +0000 (10:24 -0600)
mediagoblin/templates/mediagoblin/user_pages/collection.html

index 988c65561c3f9a23b8ce41c63153d3a7674ffa4c..0f712c01917a667507b861a2a2b6e246cad60ddc 100644 (file)
@@ -45,7 +45,7 @@
     {%- endtrans %}
   </h1>
   {% if request.user and (collection.creator == request.user.id or
-                                                request.user.ghas_privilege('admin')) %}
+                                                request.user.has_privilege('admin')) %}
     {% set edit_url = request.urlgen('mediagoblin.edit.edit_collection',
                                      user=collection.get_creator.username,
                                      collection=collection.slug) %}