class="button_action">
{%- trans %}Edit profile{% endtrans -%}
</a>
- </div>
{% else %}
<div class="grid_6 alpha empty_space">
<p>
This user hasn't filled in their profile (yet).
{%- endtrans %}
</p>
- </div>
{% endif %}
{% else %}
<div class="grid_6 alpha">
{%- trans %}Edit profile{% endtrans -%}
</a>
{% endif %}
- {% if request.user and (request.user._id == user._id) %}
- <a href="{{ request.urlgen('mediagoblin.edit.account') }}">
- {%- trans %}Change account settings{% endtrans -%}
- </a>
- {% endif %}
+ {% endif %}
+
+ {% if request.user and (request.user._id == user._id) %}
+ <a href="{{ request.urlgen('mediagoblin.edit.account') }}">
+ {%- trans %}Change account settings{% endtrans -%}
+ </a>
</div>
{% endif %}