Skip to content

Commit 5517e1f

Browse files
feat: associate icons to tags
Co-authored-by: David Larlet <[email protected]>
1 parent 91b7b93 commit 5517e1f

21 files changed

+60
-5
lines changed

umap/settings/base.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,16 +291,22 @@
291291
UMAP_HOST_INFOS = {}
292292
UMAP_LABEL_KEYS = ["name", "title"]
293293
UMAP_TAGS = (
294-
("art", _("Art and Culture")),
295-
("bike", _("Bike")),
294+
("arts", _("Art and Culture")),
295+
("cycling", _("Cycling")),
296+
("business", _("Business")),
296297
("environment", _("Environment")),
297298
("education", _("Education")),
298299
("food", _("Food and Agriculture")),
300+
("geopolitics", _("Geopolitics")),
301+
("health", _("Health")),
302+
("hiking", _("Hiking")),
299303
("history", _("History")),
300304
("public", _("Public sector")),
305+
("science", _("Science")),
306+
("shopping", _("Shopping")),
301307
("sport", _("Sport and Leisure")),
302308
("travel", _("Travel")),
303-
("trekking", _("Trekking")),
309+
("transports", _("Transports")),
304310
("tourism", _("Tourism")),
305311
)
306312

umap/static/umap/img/tags/arts.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

umap/static/umap/img/tags/cycling.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

umap/static/umap/img/tags/food.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

umap/static/umap/img/tags/health.svg

Lines changed: 1 addition & 0 deletions
Loading

umap/static/umap/img/tags/hiking.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)