Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add possibility to go to collection from dashboard view
akjanik1ed8d6a7092b
diff --git a/templates/dashboard/collection/detail.html b/templates/dashboard/collection/detail.htmlindex 3a95ca4525..710756854b 100644--- a/templates/dashboard/collection/detail.html+++ b/templates/dashboard/collection/detail.html@@ -20,21 +20,6 @@</ul>{% endblock %}-{#{% block header_extra %}#}-{# {% if collection.pk %}#}-{# <a class="dropdown-button right" href="#" data-activates="collection-delete" data-constrainwidth="false">#}-{# <i class="material-icons">more_vert</i>#}-{# </a>#}-{# <ul id="collection-delete" class="dropdown-content">#}-{# <li>#}-{# <a class="modal-trigger-custom" data-href="{% url 'dashboard:collection-delete' collection.pk %}" href="#base-modal">#}-{# {% trans "Remove collection" context "Collection detail action" %}#}-{# </a>#}-{# </li>#}-{# </ul>#}-{# {% endif %}#}-{#{% endblock %}#}-{% block header_extra %}{% if collection.pk %}{% if perms.product.edit_product %}@@ -47,6 +32,11 @@{% trans "Remove collection" context "Collection action" %}</a></li>+ <li>+ <a href="{{ collection.get_absolute_url }}">+ {% trans "View on site" context "Collection action" %}+ </a>+ </li></ul>{% endif %}{% endif %}