{% extends 'detail/protected_app.html' %} {% block title %}{{ mkt_page_title(product.name) }}{% endblock %} {% block extrahead %} {{ css('mkt/themes') }} {% endblock %} {% block content %} {{ mkt_breadcrumbs(items=[(url('browse.themes'), _('Themes')), (None, product.name)]) }} {% if not (is_dev or is_admin) and not product.is_public() %} {% if 'id' in request.GET %} #{{ product.id }} {% endif %} {{ product.name }} {{ notification(product, amo, is_dev) }} {% else %} {% if 'id' in request.GET and (is_dev or is_admin) %} #{{ product.id }} {% endif %} {{ product.name }} {{ users_list(theme.listed_authors, size=3) }} {% if categories %} {% for category in categories %} {{ category }} {% if not loop.last %}, {% endif %} {% endfor %} {% endif %} {{ product|weekly_downloads }} {{ theme_preview(theme, linked=False) }} {{ product.description|nl2br }} {% cache category_themes %} {% if category_themes %} {# L10n: {0} is a category name, such as Nature #} {{ _('More {0} Themes')|f(categories[0].name) }} {% for other in category_themes %} {{ theme_preview(other.persona, size='small') }} {% endfor %} {# L10n: {0} is a category name, such as Nature #} {{ _('See all {0} Themes')|f(categories[0].name) }} {% endif %} {% endcache %} {% cache author_themes %} {% if author_themes %} {{ _('More by this Artist') }} {% for other in author_themes %} {{ theme_preview(other.persona, size='small') }} {% endfor %} {% if author_gallery %} {{ _('See all Themes by this Artist') }} {% endif %} {% endif %} {% endcache %} {% if product.is_public() %} {{ _('Add to Firefox') }} {% endif %} {# TODO: Enable this when available. #} {# if is_dev } {{ _('Manage') }} {% endif #} {{ _('Updated') }} {{ product.modified|datetime }} {{ _('Artist') }} {{ users_list(product.listed_authors) or theme.display_username }} {# TODO: re-enable this once ratings are done. {{ _('Rating', 'advanced_search_form_rating') }} {{ reviews_link(product) }} #} {{ _('Daily Users') }} {{ theme.popularity|numberfmt }} {% if theme.license %} {{ _('License') }} {{ license_link(theme.license) }} {% endif %} {% endif %} {% endblock %} {% block js %}{{ js('mkt/themes') }}{% endblock %}
{% for category in categories %} {{ category }} {% if not loop.last %}, {% endif %} {% endfor %}
{{ product|weekly_downloads }}
{{ product.description|nl2br }}
{{ _('Manage') }}