From 7a39d5fae0768f5c8b348bbae5aa71072042063f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Mon, 9 Dec 2024 15:45:04 +0100 Subject: [PATCH] use effective_icon in fragment_location.html --- src/c3nav/site/templates/site/fragment_location.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/site/templates/site/fragment_location.html b/src/c3nav/site/templates/site/fragment_location.html index 38d6aeb4..d3be155a 100644 --- a/src/c3nav/site/templates/site/fragment_location.html +++ b/src/c3nav/site/templates/site/fragment_location.html @@ -1,5 +1,5 @@
- {% if location.get_icon %}{{ location.get_icon }}{% else %}place{% endif %} + {% if location.effective_icon %}{{ location.effective_icon }}{% else %}place{% endif %} {{ location.title }} {% if replace_subtitle %}{{ replace_subtitle }}{% else %}{% if add_subtitle %}{{ add_subtitle }}, {% endif %}{{ location.subtitle }}{% endif %}