From 03ae39bc5ad520f376ea29d766d8dec801b4ebe4 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sat, 20 Jun 2026 11:21:31 +0200 Subject: [PATCH] Herz-Icon (monochrom BSN-Blau) + Kommentar-Likes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Like-Icon: Thumbs-Up → modernes Herz-Outline (Feather-Style) in #20228a - Alle 4 Stellen ersetzt (Frontpage Cards, Card-JS, Detailseite, Detail-JS) - DB-Migration: ALTER TABLE comments ADD COLUMN likes - API: POST /api/comment-like/ mit Cookie-Dedup - Like-Button in jedem Kommentar (clike-count) - CSS .comment-like-btn analog zu .stat-like-btn - JS: localStorage likedComments für Persistenz - SQL-Query: comments SELECT um likes erweitert --- app.py | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 67 insertions(+), 7 deletions(-) diff --git a/app.py b/app.py index 3e85cfa..5b0d89e 100644 --- a/app.py +++ b/app.py @@ -2882,7 +2882,7 @@ def public_frontend():
""" + str(r['views'] or 0) + """ """ + str(r['comment_count'] or 0) + """ - +