feat: Use heading + description
This commit is contained in:
parent
cd64495851
commit
4d22702e2d
@ -1,4 +1,4 @@
|
||||
{% load custom_tags %}
|
||||
{% load custom_tags %}
|
||||
{% load i18n %}
|
||||
|
||||
<div class="card">
|
||||
|
@ -19,8 +19,9 @@
|
||||
|
||||
{% for an in adoption_notices %}
|
||||
// create the popup
|
||||
const popup_{{ forloop.counter }} = new maplibregl.Popup({offset: 25}).setText(
|
||||
'{{ an.name }}'
|
||||
const popup_{{ forloop.counter }} = new maplibregl.Popup({offset: 25}).setHTML(`
|
||||
<h1>{{ an.name }}</h1><p>{{ an.description }}</p>
|
||||
`
|
||||
);
|
||||
|
||||
// create DOM element for the marker
|
||||
|
Loading…
Reference in New Issue
Block a user