diff --git a/browser/templates/_types/browse/_admin.html b/browser/templates/_types/browse/_admin.html index 053691d..e3cf3a2 100644 --- a/browser/templates/_types/browse/_admin.html +++ b/browser/templates/_types/browse/_admin.html @@ -2,6 +2,6 @@ {% if g.rights.admin %} {% from 'macros/admin_nav.html' import admin_nav_item %} {{admin_nav_item( - url_for('market.browse.product.admin', slug=slug) + url_for('market.browse.product.admin', product_slug=slug) )}} {% endif %} \ No newline at end of file diff --git a/browser/templates/_types/browse/_product_card.html b/browser/templates/_types/browse/_product_card.html index f9bc980..b923bc5 100644 --- a/browser/templates/_types/browse/_product_card.html +++ b/browser/templates/_types/browse/_product_card.html @@ -2,7 +2,7 @@ {% import '_types/product/prices.html' as prices %} {% set prices_ns = namespace() %} {{ prices.set_prices(p, prices_ns) }} -{% set item_href = url_for('market.browse.product.product_detail', slug=p.slug)|host %} +{% set item_href = url_for('market.browse.product.product_detail', product_slug=p.slug)|host %}
{# ❤️ like button overlay - OUTSIDE the link #} {% if g.user %} diff --git a/browser/templates/_types/browse/like/button.html b/browser/templates/_types/browse/like/button.html index de147a4..426bdc1 100644 --- a/browser/templates/_types/browse/like/button.html +++ b/browser/templates/_types/browse/like/button.html @@ -1,6 +1,6 @@