From 81ec8733c7d275b1a358f51bc878fa112723be22 Mon Sep 17 00:00:00 2001 From: Deeman Date: Sat, 28 Feb 2026 21:52:23 +0100 Subject: [PATCH] fix(admin): DE/EN chips in article list link to live article, not edit Live chips now open the article in a new tab. Draft/scheduled chips are non-clickable spans (informational only). The Edit button is the sole path to the edit page, removing the redundant double-link. Co-Authored-By: Claude Sonnet 4.6 --- .../admin/partials/article_group_row.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/web/src/padelnomics/admin/templates/admin/partials/article_group_row.html b/web/src/padelnomics/admin/templates/admin/partials/article_group_row.html index 8c74c54..200265a 100644 --- a/web/src/padelnomics/admin/templates/admin/partials/article_group_row.html +++ b/web/src/padelnomics/admin/templates/admin/partials/article_group_row.html @@ -6,15 +6,19 @@ {% for v in g.variants %}
- + title="View live {{ v.language|upper }} article"> {{ v.language | upper }} {% if v.noindex %}noindex{% endif %} - {% if v.display_status == 'live' %} - View ↗ + {% else %} + + {{ v.language | upper }} + {% if v.noindex %}noindex{% endif %} + {% endif %} Edit