{% extends "devhub/base_impala.html" %} {% from "includes/forms.html" import pretty_field, required, tip %} {% from "devhub/includes/macros.html" import some_html_tip %} {% set title = _('Edit Listing') %} {% block title %} {{ dev_page_title(title, addon) }} {% endblock %} {% set can_delete = check_addon_ownership(request, addon) and addon.can_be_deleted() %} {% block content %}
{{ dev_breadcrumbs(addon) }} {{ l10n_menu(addon.default_locale) }}

{{ title }}

{{ addon.name }}

{{ _('by {0}')|fe(users_list(addon.listed_authors)|safe or persona.display_username|safe) }} {{ _('Transfer ownership') }}

{{ persona_preview(persona, linked=False) }}

{{ _('Status:') }} {{ addon.STATUS_CHOICES[addon.status] }}

{% set position = get_position(addon) %} {% if position and position.pos and position.total %}

{{ _('Queue Position:') }} {% trans position=position.pos|numberfmt, total=position.total|numberfmt %} {{ position }} of {{ total }} {% endtrans %}

{% endif %}

{{ _('View Listing') }}

{{ _('View Recent Changes') }}

{% if waffle.switch('theme-stats') %}

{{ _('View Statistics') }}

{% endif %} {% if can_delete %} {{ _('Delete Theme') }} {% endif %}
{{ csrf() }} {{ form.unsaved_data }}
{{ _('Theme Details') }}
  • {{ form.name }}
  • {% set before_slug = ('%s/addon/' % settings.SITE_URL)|safe %} {{ pretty_field(form.slug, label=_('Supply a pretty URL for your detail page.'), tag=None, before=before_slug, validate=True) }} {{ _('Please use only letters, numbers, underscores, and dashes in your URL.') }}
  • {{ pretty_field(form.category, label=_('Select the category that best describes your Theme.'), class='row radios addon-cats', validate=True) }}
  • {{ pretty_field(form.tags, label=_('Add some tags to describe your Theme.'), tag=None, opt=True, validate=True) }} {{ ngettext('Comma-separated, minimum of {0} character.', 'Comma-separated, minimum of {0} characters.', amo.MIN_TAG_LENGTH)|f(amo.MIN_TAG_LENGTH) }} {{ _('Example: dark, cinema, noir. Limit 20.') }}
  • {{ form.description }} {{ form.description.errors }}
    {{ some_html_tip() }}
{{ _('Theme License') }}
{{ form.license }} {{ form.license.errors }}

{{ _("Can others share your Theme, as long as you're given credit?") }}

{{ _('Can others make commercial use of your Theme?') }}

{{ _('Can others create derivative works from your Theme?') }}

{{ _('Your Theme will be released under the following license:') }}

{{ _('Select a different license.') }}

{{ _('Select a license for your Theme.') }}

    {% for license in amo.PERSONA_LICENSES %}
  • {% endfor %}
{{ _('Theme Design') }} {% if not addon.is_pending() %} {{ _('Upload New Design') }} {{ _('Cancel') }}

{{ _('Upload New Design') }}

{% trans %} Upon upload and form submission, the AMO Team will review your updated design. Your current design will still be public in the meantime. {% endtrans %}

{% with required = False %} {% include "devhub/personas/includes/theme_design.html" %} {% endwith %}
{% set rereview = persona.rereviewqueuetheme_set.all() %} {% if rereview.exists() %}

{{ _('Your previously resubmitted design, ' 'which is under pending review.') }}

  • {{ _('Pending Header') }}

  • {% if rereview[0].footer_url %} {% endif %}
{% endif %}
{% else %} {{ _('You may update your theme design here once it has been approved.') }} {% endif %}
  • {{ _('Header') }}

  • {% if persona.footer_url %} {% endif %}

{{ _('Select colors for your Theme.') }}

    {{ pretty_field(form.textcolor, label=_('Foreground Text'), tooltip=_('This is the color of the tab text.'), validate=True) }} {{ pretty_field(form.accentcolor, label=_('Background'), tooltip=_('This is the color of the tabs.'), validate=True) }}
{{ _('Preview') }}
{{ _("Your Theme's Name") }} {% set user = request.user %} {% trans user=user.username, profile_url=url('users.profile', user.id) %} by {{ user }} {% endtrans %}
{% endblock %}