Skip to content

Commit

Permalink
apps: add label badges to item list tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzylogic2000 committed Oct 17, 2022
1 parent abb9ff3 commit fb0b384
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ <h3 class="list-item__title">
{% if object.category %}
<span class="label label--big">{{ object.category }}</span>
{% endif %}
{% if object.labels %}
{% for label in object.labels.all %}
<span class="label label--big">{{ label.name }}</span>
{% endfor %}
{% endif %}
{% if object.point_label %}
<span class="label label--big">
<i class="fas fa-map-marker-alt" aria-hidden="true"></i>
Expand Down

0 comments on commit fb0b384

Please sign in to comment.