{% extends "page.html" %} {% set user = c.user_dict %} {% block subtitle %}{{ user.display_name }}{% endblock %} {% block breadcrumb_content %} {{ h.build_nav('user_index', _('Users')) }} {{ h.build_nav('user_datasets', user.display_name|truncate(35), id=user.name) }} {% endblock %} {% block actions_content %} {% if h.check_access('user_update', user) %}
  • {% link_for _('Edit'), controller='user', action='edit', id=user.name, class_='btn btn-primary', icon='wrench' %}
  • {% endif %} {% if c.is_myself == false %}
  • {{ h.follow_button('user', user.id) }}
  • {% endif %} {% endblock %} {% block primary_content %}
    {% block page_header %} {% endblock %}
    {% block primary_content_inner %}{% endblock %}
    {% endblock %} {% block secondary_content %}
    {% block secondary_content_inner %}
    {{ h.linked_gravatar(user.email_hash, 190) }}

    {{ user.display_name }}

    {% if c.about_formatted %} {{ c.about_formatted }} {% else %}

    {% if c.is_myself %} {% trans %}You have not provided a biography.{% endtrans %} {% else %} {% trans %}This user has no biography.{% endtrans %} {% endif %}

    {% endif %}
    {{ _('Followers') }}
    {{ h.SI_number_span(user.num_followers) }}
    {{ _('Datasets') }}
    {{ h.SI_number_span(user.number_administered_packages) }}
    {{ _('Edits') }}
    {{ h.SI_number_span(user.number_of_edits) }}
    {% if user.name.startswith('http://') or user.name.startswith('https://') %}
    {{ _('Open ID') }}
    {{ user.name|urlize(25) }}{# Be great if this just showed the domain #}
    {% else %}
    {{ _('Username') }}
    {{ user.name }}
    {% endif %}
    {% if c.is_myself %}
    {{ _('Email') }} {{ _('Private') }}
    {{ user.email }}
    {% endif %}
    {{ _('Member Since') }}
    {{ h.render_datetime(user.created) }}
    {% if c.is_myself %}
    {{ _('API Key') }} {{ _('Private') }}
    {{ user.apikey }}
    {% endif %}
    {% endblock %}
    {% endblock %}