{% extends 'developers/base_impala.html' %}
{% set title = _('Manage Status') %}
{% block title %}{{ hub_page_title(title, addon) }}{% endblock %}
{% macro status(msg) %}
{{ msg }}
{% endmacro %}
{% block content %}
{% if addon.disabled_by_user and addon.status != amo.STATUS_DISABLED %}
{{ status(_('You have disabled this app.')|safe) }}
{{ _("Your app's listing is disabled and will not appear in the
Mozilla Marketplace. You may re-enable it at any time below.") }}
{% elif addon.status == amo.STATUS_NULL %}
{{ status(_('This app is incomplete.')|safe) }}
{{ _('Please complete your app.') -}}
{% elif addon.status == amo.STATUS_PENDING %}
{{ status(_('This app is awaiting review.')|safe) }}
{{ _('You will receive an email when the review is complete.') }}
{% elif addon.status == amo.STATUS_PUBLIC %}
{{ status(_('This app is public.')|safe) }}
{% elif addon.status == amo.STATUS_DISABLED %}
{{ status(_('This app has been disabled by Mozilla.')|safe) }}
{{ _("Your app was disabled by a site administrator. If you have any
questions, please email app-reviews@mozilla.org.") }}
{% elif addon.status == amo.STATUS_REJECTED %}
{{ status(_('This app has been rejected by a Mozilla Marketplace reviewer.')|safe) }}
{% elif addon.status == amo.STATUS_PUBLIC_WAITING %}
{{ status(_('Your app has been approved but is not public.')|safe) }}
{{ _('It is awaiting your approval to make public.') }}
{% endif %}
{% if not (addon.is_disabled or addon.is_incomplete()) %}
{{ _('Learn more') }}
{% endif %}
{% if addon.status == amo.STATUS_REJECTED %}
{{ title }}
{{ _('Current Status') }}