{% extends "base.html" %} {% load crispy_forms_tags i18n permissions translations %} {% block nav_pills %}
{% endblock nav_pills %} {% block breadcrumbs %} {% if object %} {% path_object_breadcrumbs object %}
{% if addon.is_valid %}
{% if item.inherited %}
{% include 'addons/addon_head.html' with addon=addon.addon show_settings=item.can_manage scope_label=item.scope_label scope_description=item.scope_description %}
{% elif scope == "component" and addon.repo_scope %}
{% include 'addons/addon_head.html' with addon=addon.addon show_settings=item.can_manage %}
{% else %}
{% include 'addons/addon_head.html' with addon=addon.addon show_settings=item.can_manage hide_scope_badges=True %}
{% endif %}
{% else %}
{{ addon.addon_name }}{% endif %} {% if item.inherited %}
{% translate "Inherited from" %} {{ item.scope_description }}
{% endif %}
|
{% if item.inherited %} {% if item.can_manage %} {% translate "View Logs" %} {% blocktranslate with location=item.scope_description %}Manage add-ons at {{ location }}{% endblocktranslate %} {% else %} {% translate "Managed at a scope you do not have access to." %} {% endif %} {% else %} {% if addon.can_run_manually %} {% endif %} {% translate "View Logs" %} {% if item.components_url %} {% translate "View components" %} {% endif %} {% if addon.is_valid and addon.addon.has_settings %} {% translate "Configure" %} {% endif %} {% endif %} |
| {% include 'addons/addon_head.html' with addon=addon %} | {% if scope != "component" and addon.needs_component %} {% else %} {% endif %} |