{% import "macros/links.html" as links %}
{% if g.rights.admin %}
    {% from 'macros/admin_nav.html' import admin_nav_item %}
    {{admin_nav_item(
      url_for('market.browse.product.admin', slug=slug)
    )}}
{% endif %}