{% extends "impala/base_shared.html" %} {% block title %}{{ page_title(_('User Info for {0}')|f(profile.name)) }}{% endblock %} {% block js %}{% include("amo/recaptcha_js.html") %}{% endblock %} {% block bodyclass %}meet gutter profile{% endblock %} {% block content %} {{ impala_breadcrumbs([(None, profile.name)]) }}
{% if own_profile %} {{ _('Edit profile') }} {% endif %} {% if edit_any_user %} {# TODO XXX Once zamboni can delete users, uncomment this line. bug 595035 #} {# {{ _('Manage user') }} #} {{ _('Manage user') }} {% endif %} {% if abuse_form %} {{ _('Report user') }} {% endif %}

{{ profile.name }}

{{ _('About me') }}

{{ profile|user_vcard(is_profile=True, webapp=webapp) }}
{% if profile.bio %}

{{ _('In a little more detail...') }}

{{ profile.bio|nl2br }}

{% endif %}
{% if addons.object_list %}

{{ loc("Apps I've created") if webapp else _("Add-ons I've created") }}

{% cache addons.object_list %}
{{ impala_addon_listing_items(addons.object_list, field=sorting, src='userprofile') }}
{{ addons|impala_paginator }} {% endcache %}
{% endif %} {% if personas %}

{{ loc("Personas I've created") }}

{% cache personas %} {{ personas|impala_persona_grid(cols=5, pagesize=15) }} {% endcache %}
{% endif %} {% if own_coll or fav_coll %} {% endif %}
{% cache reviews %}

{{ _('My Reviews') }}

{% if reviews %} {% for review in reviews %} {% set addon = review.addon %} {% with show_addon = True %} {% include "reviews/review.html" %} {% endwith %} {% endfor %} {{ edit_review_form() }} {% else %}

{{ loc('No app reviews yet.') if webapp else _('No add-on reviews yet.') }}

{% endif %}
{% endcache %}
{% endblock %} {% block popups %} {{ report_review_popup() }} {% if abuse_form %} {% endif %} {% endblock %}