use effective_icon in fragment_location.html

This commit is contained in:
Laura Klünder 2024-12-09 15:45:04 +01:00
parent 26ea7c7152
commit 7a39d5fae0

View file

@ -1,5 +1,5 @@
<div class="location{% if form_value %} location-form-value{% endif %}">
<i class="icon material-symbols">{% if location.get_icon %}{{ location.get_icon }}{% else %}place{% endif %}</i>
<i class="icon material-symbols">{% if location.effective_icon %}{{ location.effective_icon }}{% else %}place{% endif %}</i>
<span>{{ location.title }}</span>
<small>{% if replace_subtitle %}{{ replace_subtitle }}{% else %}{% if add_subtitle %}{{ add_subtitle }}, {% endif %}{{ location.subtitle }}{% endif %}</small>
</div>