{% from "includes/forms.html" import tip %} {% macro status_and_tip(addon) %} {% if addon.status == amo.STATUS_NULL %} {% set url = url('devhub.submit.resume', addon.slug) %} {% else %} {% set url = addon.get_dev_url('versions') %} {% endif %} {% if addon.status != amo.STATUS_DISABLED and addon.disabled_by_user %} {% set status_text = _('Invisible') %} {% set tooltip_text = status_tips['invisible'] %} {% else %} {% set status_text = addon.STATUS_CHOICES[addon.status] %} {% set tooltip_text = status_tips[addon.status] %} {% endif %} {{ status_text }} ? {% endmacro %} {% set status_tips = { amo.STATUS_NULL: _('Please complete your add-on.'), amo.STATUS_NOMINATED: _("You will receive an email when the review is complete. Until " "then, your add-on is not listed in our gallery but can be " "accessed directly from its details page. "), amo.STATUS_PUBLIC: _("Your add-on is displayed in our gallery and users are " "receiving automatic updates."), amo.STATUS_DISABLED: _("Your add-on was disabled by a site administrator and is no " "longer shown in our gallery. If you have any questions, " "please email amo-admins@mozilla.org."), amo.STATUS_DELETED: '', 'invisible': _("Your add-on won't be included in search results, and its " "listing page will indicate you disabled it. New version " "submissions for listing won't be accepted in this state."), } %} {% if sorting == 'created' %}