From 0eb5b8fb5586e9f04b66f2dfe454af6cf7b696f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Tue, 14 Feb 2023 12:53:56 +0900
Subject: [PATCH] better naming, icons

---
 main/blocks.py                             | 2 +-
 main/templates/main/main_program_page.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/blocks.py b/main/blocks.py
index 3e0ad54c..ce1ec831 100644
--- a/main/blocks.py
+++ b/main/blocks.py
@@ -188,7 +188,7 @@ class ProgramPopoutCategory(StructBlock):
 
     class Meta:
         icon = "date"
-        label = "Vyskakovací bod programu"
+        label = "Kategorie programu"
 
 
 class ProgramGroupBlock(ProgramGroupBlockMixin):
diff --git a/main/templates/main/main_program_page.html b/main/templates/main/main_program_page.html
index f4778cc1..cac34f0f 100644
--- a/main/templates/main/main_program_page.html
+++ b/main/templates/main/main_program_page.html
@@ -87,7 +87,7 @@
                         {% for category in program_group.value.categories %}
                           <li class="grow">
                             <div class="flex gap-3 mb-3 items-center bg-grey-150 p-5">
-                              {% image category.image height-20 as icon %}
+                              {% image category.icon height-24 as icon %}
                               <img
                                 src="{{ icon.url }}"
                                 alt=""{% comment %} (decorative image, https://stackoverflow.com/a/52557065) {% endcomment %}
-- 
GitLab