{% extends "base.html" %} {% block page_title %}{{ _('Mozilla Community Directory') }}{% endblock %} {% block body_id %}home{% endblock %} {% block mosaic %} {% if not user.is_authenticated() %} {% include 'phonebook/includes/mosaic.html' %} {% endif %} {% endblock mosaic %} {% block search %} {# Don't display search in navbar on home.html #} {% endblock %} {% block content %} {% if not user.is_authenticated() %}

{% if show_start %}

{{ _('Create your account now to connect with fellow Mozillians.') }}

{{ _('Get started') }}

{% endif %}
Mitchell Baker, Chair of the Mozilla Foundation

{% trans %} It’s an exciting time for Mozilla and the Web. Another two billion people will join the Internet community in the coming years. {% endtrans %}

Mitchell Baker

{{ _('Welcome to the Mozilla community directory') }}

{% trans %} This site lists all core individuals and groups that participate in the Mozilla Project. We call ourselves Mozillians and this is where we connect and share with one another. {% endtrans %}

{% set fact=random_funfact() %} {% if fact %} {% set number=fact.execute() %} {% if number %}

{{ number }}

{% endif %}

{{ fact.public_text|markdown }}

{% else %}

3000+

{% trans %} Passionate Mozillians you can meet for work, play or a cup of coffee. {% endtrans %}

{% endif %}
{% else %} {# This is where the logged in homepage view starts. #}

{{ _('Hello!') }}

{{ user.username }}

{{ user.username }}

{{ user.userprofile.email }} {% with profile = user.userprofile %} {% if profile.country or profile.region or profile.city %}
{% include 'phonebook/includes/profile_location.html' %}
{% endif %} {% endwith %} {% set access_groups = user.userprofile.get_annotated_access_groups() %} {% if access_groups %}

{{ _('Access Groups') }}

{% for group in access_groups -%} {%- if group.curators.filter(id=user.userprofile.id).exists() -%} {% endif %} {{ group.name }} {%- if group.pending %} {{ _('(membership requested)') }}{% endif -%} {%- if not loop.last -%},{% endif %} {% endfor %}
{% endif %} {% set tags = user.userprofile.get_annotated_tags() %} {% if tags %}

{{ _('Tags') }}

{% for tag in tags -%} {%- if tag.curators.filter(id=user.userprofile.id).exists() -%} {% endif %} {{ tag.name }} {%- if tag.pending %} {{ _('(membership requested)') }}{% endif -%} {%- if not loop.last -%},{% endif %} {% endfor %}
{% endif %} {% if user.userprofile.languages.exists() %}

{{ _('Languages') }}

{% for language in user.userprofile.languages %} {{ langcode_to_name(language.code) }} {%- if not loop.last -%},{% endif %} {% endfor %}
{% endif %} {% if user.userprofile.skills.count() %}

{{ _('Skills') }}

{% for skill in user.userprofile.skills.all() %} {{ skill.name }} {%- if not loop.last %},{% endif %} {% endfor %}
{% endif %} {# Using this placeholder code for now. {% if user.userprofile.badges.count() %} {% trans badges_count=user.userprofile.badges.count() %} Has {{ badges_count }} skills. {% endtrans %} {% endif %} #}

{{ _('Hello!') }}

{% set announcement=latest_announcement() %} {% if announcement %} {% if announcement.image %} {% endif %}

{{ announcement.title }}

{{ announcement.get_template_text() }}

{% else %} {% set fact=random_funfact() %} {% if fact %} {% set number=fact.execute() %} {% if number %}

{{ number }}

{% endif %}

{{ fact.public_text|markdown }}

{% endif %} {% endif %}
Functional areas

{{ _('Functional areas') }}

{% trans %}

View Mozillians, Stewards and information for any functional area. Find out who works on what and how you can help out.

{% endtrans %} {% if user.userprofile.is_vouched %} {{ _('Browse functional areas') }} {% else %} {% trans %}

Become vouched and you can browse functional areas!

{% endtrans %} {% endif %}
Groups

{{ _('Groups') }}

{% trans %}

Find and join groups centered around interests, technologies, geographies and more.

{% endtrans %} {% if user.userprofile.is_vouched %} {{ _('Browse groups') }} {% else %} {% trans %}

Become vouched and you can browse groups!

{% endtrans %} {% endif %}
{% endif %} {% endblock content %} {% block get_involved %} {% if not user.is_authenticated() %}

{{ _('How do I get involved?') }}

{% trans %} Mozilla exists to promote openness, innovation and opportunity on the Internet. The success of our mission depends on participation from people like you. Find out how you can get involved to help make a difference in the lives of people everywhere. {% endtrans %}

{% trans contribute_url='https://activate.mozilla.community/' %} Get involved {% endtrans %}
{% endif %} {% endblock get_involved %} {% block page_js %} {% compress js %} {% endcompress %} {% endblock %}