Skip to content
Snippets Groups Projects
Commit 0eb5b8fb authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

better naming, icons

parent bb7ac1a8
No related branches found
No related tags found
2 merge requests!722better naming, icons,!721Better naming, popout program icons
Pipeline #11493 passed
......@@ -188,7 +188,7 @@ class ProgramPopoutCategory(StructBlock):
class Meta:
icon = "date"
label = "Vyskakovací bod programu"
label = "Kategorie programu"
class ProgramGroupBlock(ProgramGroupBlockMixin):
......
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment