{% extends "base.html" %} {% block page_title %} {{ profile.display_name|default(shown_user.username, true) }} {% endblock %} {% block body_id %}profile{% endblock %} {% block body_class %} {{ super() }} {% if not profile.is_vouched %}pending{% endif %} {% endblock %} {% block content %}
{% if user.username == shown_user.username %} {{ _('Your Profile') }} {% elif profile.is_vouched %} {{ _('Mozillian Profile') }} {% else %} {{ _('Pending Profile') }} {% endif %}
{% if user.is_authenticated() and not profile.is_vouched %} {% if user == shown_user %}
{% trans vouching_url='https://wiki.mozilla.org/Mozillians/Vouching', profile_url=absolutify(url('phonebook:profile_view', user.username)), contribute_url='https://www.mozilla.org/contribute' %}

Your profile is waiting to be vouched. Once you are vouched, you will be able to view the profiles of all Mozillians, join groups and access additional content on other sites as a Mozillian. Learn more about vouching.

Send the link below to someone who is familiar with your contributions and ask them to vouch for you:
{{ profile_url }}

If you are new to the Mozilla community, get involved

The chances of being vouched increase as you finish tasks in our community.

{% endtrans %}
{% elif profile.is_vouchable(user.userprofile) %}

{% trans %} This profile is waiting for approval. If you would like to vouch for them, use the form at the bottom of the page. {% endtrans %}

{% endif %} {% endif %} {% if privacy_mode == 'anonymous' and not profile.is_public %}
{% trans edit_url=url('phonebook:profile_edit') %} Your profile is not public. If you edit your profile to have at least one public field, your public profile will be viewable. {% endtrans %}
{% endif %}
{% set mozillian_years = get_mozillian_years(profile) %} {% if not mozillian_years is none %}
{% if mozillian_years > 0 %} {% trans %} Mozillian for {{ mozillian_years }} year {% pluralize %} Mozillian for {{ mozillian_years }} years {% endtrans %} {% else %} Mozillian for less than a year {% endif %} {{ profile.date_mozillian.strftime('%b %Y') }}
{% endif %} {% if profile.country or profile.region or profile.city %}
{% include 'phonebook/includes/profile_location.html' %}
{% endif %} {% if profile.timezone %}
{{ now_in_timezone(profile.timezone).strftime('%H:%M') }} {{ profile.timezone }}
{% endif %}
{% if profile.email %}
{% if user != shown_user %}{% endif %} {% if user != shown_user %}{% endif %}
{% endif %} {# Only show github primary accounts #} {% if primary_identity.exists() and primary_identity[0].type == 30 and primary_identity[0].username %} {% set idp = primary_identity[0] %}
{{ idp|get_idp_external_url }}
{% endif %} {% if profile.ircname %}
IRC : {{ profile.ircname }}
{% endif %} {% if profile.tshirt %}
{{ _('T-Shirt Size:') }} {{ profile.get_tshirt_display() }}
{% endif %}
{% if abuse_form %}
{% endif %}
{% if user == shown_user %}
{% endif %}

{{ profile.display_name|default(shown_user.username, true) }}

{% if profile.full_name_local %}

{{ profile.full_name_local }}

{% endif %} {% if profile.title %}

{{ profile.title }}

{% endif %}
{% if profile.bio %}

{{ _('Bio') }}

{{ profile.bio|markdown }}
{% endif %} {% if profile.story_link %}

{{ _('My contribution story') }}

{% endif %} {% if access_groups %}

{{ _('Access Groups') }}

{% for group in access_groups %} {% set curators = group.curators.all() %} {% if (user.is_authenticated() and user.userprofile.is_vouched) %} {%- if profile in curators -%} {%- endif -%} {{ group.name }} {%- if group.pending %} {{ _('(membership requested)') }}{%- endif -%} {%- if group.pending_terms %} {{ _('(pending terms review)') }}{%- endif -%} {%- if group.inviter and user.userprofile.can_create_access_groups %} invited by {{ group.inviter.display_name }} {%- endif -%} {%- else -%} {%- if profile in curators -%} {%- endif -%} {{ group.name }} {%- endif -%} {% if not loop.last %},{% endif %} {% endfor %}
{% endif %} {% if tags %}

{{ _('Tags') }}

{% for tag in tags %} {% set curators = tag.curators.all() %} {% if (user.is_authenticated() and user.userprofile.is_vouched) %} {%- if profile in curators -%} {%- endif -%} {{ tag.name }} {%- if tag.pending %} {{ _('(membership requested)') }}{%- endif -%} {%- if tag.pending_terms %} {{ _('(pending terms review)') }}{%- endif -%} {%- else -%} {%- if profile in curators -%} {%- endif -%} {{ tag.name }} {%- endif -%} {% if not loop.last %},{% endif %} {% endfor %}
{% endif %} {% if profile.skills.count() %}

{{ _('Skills') }}

{% for skill in profile.skills.all() %} {% if (user.is_authenticated() and user.userprofile.is_vouched) %} {{ skill.name }} {%- else -%} {{ skill.name }} {%- endif -%} {%- if not loop.last %},{% endif %} {% endfor %}
{% endif %} {% if profile.languages.exists() %}

{{ _('Languages') }}

{% for language in profile.languages -%} {{ langcode_to_name(language.code) }} {%- if not loop.last %},{% endif %} {% endfor %}
{% endif %} {% if profile.websites.exists() %}

{{ _('Websites') }}

{% endif %} {% if profile.accounts.exists() %}

{{ _('External Accounts') }}

    {% for account in profile.accounts %}
  • {{ account.get_type_display() }}: {% if account.get_identifier_url() -%} {{ account.identifier }} {%- else -%} {{ account.identifier|simple_urlize() }} {%- endif -%}
  • {% endfor %}
{% endif %} {% if alternate_identities %}

{{ _('Alternate Contact Identities') }}

    {% for idp in alternate_identities %}
  • {{ idp.get_type_display() }} - {% if user != shown_user %} {{ idp.email|urlize }} {% else %} {{ idp.email }} {% endif %} {% set username=idp|get_idp_external_url %} {% if username %} - {{ username }} {% endif %}
  • {% endfor %}
{% endif %} {% if profile.vouches_received.exists() %}

{{ _('Vouched By') }}

{% endif %} {% if profile.vouches_made.exists() %}

{{ _('Vouchees') }}

{% endif %}
{% include 'phonebook/includes/profile_vouch.html' %}
{# H-card support, add group Mozillians #}
{# strings that need translating, used from profile_view.js, replacing %HOURS% #} {% endblock %} {% block page_js %} {% compress js %} {% endcompress %} {% endblock %}