{% block mediagoblin_content -%}
{% if user %}
<h1>{{ user.username }}'s profile</h1>
+
+ {% include "mediagoblin/utils/profile.html" %}
+
{% if request.user['_id'] == user['_id'] or request.user['is_admin'] %}
<a href="{{ request.urlgen('mediagoblin.edit.profile') }}?username={{
- user.username }}">Edit profile</a>
+ user.username }}">Edit profile</a>
{% endif %}
- {% include "mediagoblin/utils/profile.html" %}
-
{% set pagination_base_url = user_gallery_url %}
{% include "mediagoblin/utils/object_gallery.html" %}