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 %}
|
{% load i18n %}
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
@ -19,8 +19,9 @@
|
|||||||
|
|
||||||
{% for an in adoption_notices %}
|
{% for an in adoption_notices %}
|
||||||
// create the popup
|
// create the popup
|
||||||
const popup_{{ forloop.counter }} = new maplibregl.Popup({offset: 25}).setText(
|
const popup_{{ forloop.counter }} = new maplibregl.Popup({offset: 25}).setHTML(`
|
||||||
'{{ an.name }}'
|
<h1>{{ an.name }}</h1><p>{{ an.description }}</p>
|
||||||
|
`
|
||||||
);
|
);
|
||||||
|
|
||||||
// create DOM element for the marker
|
// create DOM element for the marker
|
||||||
|
Loading…
Reference in New Issue
Block a user