{% from 'developers/includes/macros.html' import empty_unless, flags, some_html_tip, tip %}

{{ _('Technical Details') }} {% if not editable %} {{ _('Edit') }} {% endif %}

{# L10n: {0} is an addon name #} {% if waffle.switch('app-stats') %} {% endif %}
{{ _('Technical Details for {0}')|f(addon.name) }}
{% if editable %} {{ form.developer_comments }} {{ form.developer_comments.errors }} {{ some_html_tip() }} {% else %} {% call empty_unless(addon.developer_comments) %}
{{ addon|all_locales('developer_comments') }}
{% endcall %} {% endif %}
{{ tip(_("Public Stats?"), _("Whether the install and usage stats of your app can be displayed in our online viewer.")) }} {{ flags(_("This app's stats are publicly viewable."), addon.public_stats if not editable else form.public_stats, editable, _("No, this app's stats are not publicly viewable.")) }}
{% if editable %} {% endif %}