{% extends 'mkt/base.html' %} {% block extrahead %} {% if settings.ENGAGE_ROBOTS and not product.is_public() %} {% endif %} {% endblock %} {% set is_dev = check_ownership(product) %} {% set is_author = check_ownership(product, require_author=True) %} {# Reviewers should be able to see pending apps. #} {% if not is_admin and is_reviewer and product.is_pending() %} {% set is_admin = True %} {% endif %} {% macro notification(product, amo, is_dev) %} {% if not product.is_public() %}
{% if is_dev or is_admin %} {% if product.status in (amo.STATUS_NULL, amo.STATUS_REJECTED) or product.disabled_by_user %} {% trans %} This app is currently invisible to other users. {% endtrans %} {% elif product.status == amo.STATUS_PENDING %} {% trans %} This app is awaiting review. {% endtrans %} {{ _('You will receive an email when the review is complete.') }} {% elif product.status == amo.STATUS_PUBLIC_WAITING %} {% trans %} This app has been approved but is not public. {% endtrans %} {{ _('It is awaiting your approval to make public.') }} {% elif product.status == amo.STATUS_DISABLED %} {% trans %} This app has been disabled by Mozilla. {% endtrans %} {% trans email=emaillink(settings.MKT_REVIEWERS_EMAIL) %} If you have any questions about this, please email {{ email }}. {% endtrans %} {% endif %} {% trans status_url=product.get_dev_url('versions') %} Visit its Manage Status page to learn more. {% endtrans %} {% else %} {% if product.status == amo.STATUS_NULL %} {% trans %} This app is incomplete. {% endtrans %} {% elif product.status == amo.STATUS_PENDING %} {% trans %} This app is awaiting review. {% endtrans %} {% elif product.status == amo.STATUS_PENDING %} {% trans %} This app is approved but is not public. {% endtrans %} {% elif product.status == amo.STATUS_PUBLIC_WAITING %} {% trans %} This has been approved but is unavailable until its developer makes it public. {% endtrans %} {% elif product.status == amo.STATUS_REJECTED %} {% trans %} This app has been rejected and is unavailable until its developer submits a new version. {% endtrans %} {% elif product.status == amo.STATUS_DISABLED %} {% trans %} This app has been disabled by Mozilla and is no longer available. {% endtrans %} {% elif product.disabled_by_user %} {% trans %} This app has been disabled by its developer and is no longer available. {% endtrans %} {% endif %} {% if not (product.is_disabled or product.is_incomplete()) %} {{ _('Learn more') }} {% endif %} {% endif %}
{% endif %} {% endmacro %}