{{ collection_title }} by <a href="{{ user_url }}">{{ username }}</a>
{%- endtrans %}
</h1>
- {% if request.user and (collection.creator == request.user.id or
- request.user.has_privilege(u'admin')) %}
+ {% if request.user and (collection.creator == request.user.id or
+ request.user.ghas_privilege('admin')) %}
{% set edit_url = request.urlgen('mediagoblin.edit.edit_collection',
user=collection.get_creator.username,
collection=collection.slug) %}
</p>
{{ collection_gallery(request, collection_items, pagination) }}
-
+
{% set feed_url = request.urlgen('mediagoblin.user_pages.collection_atom_feed',
- user=user.username,
+ user=user.username,
collection=collection.slug ) %}
{% include "mediagoblin/utils/feed_link.html" %}
-
-{% endblock %}
+
+{% endblock %}
<a href="{{ entry_url }}">{{ item.note }}</a>
{% endif %}
{% if request.user and
- (item.in_collection.creator == request.user.id or
- request.user.has_privilege(u'admin')) %}
+ (item.in_collection.creator == request.user.id or
+ request.user.has_privilege('admin')) %}
{%- set remove_url=request.urlgen(
'mediagoblin.user_pages.collection_item_confirm_remove',
user=item.in_collection.get_creator.username,