{% extends "base.html" %} {% block title %} {% if user %} {{ _("%(author)s's collections", author=user.display_name) }} {% else %} {{ _("Collections") }} {% endif %} {% endblock %} {% block author_link -%} {{- user.display_name -}} {%- endblock %} {% block content %} {% if user %} {% if current_user == user or (current_user.is_authenticated and current_user.rank.at_least(current_user.rank.EDITOR)) %} {{ _("Create") }} {% endif %}