Skip to content

Commit

Permalink
Show tags in object detail
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix committed Oct 17, 2024
1 parent ee29ee7 commit 3c10f6e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions qgis-app/templates/base/includes/detail_object.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,19 @@
</div>
</div>
{% endif %}
{% if object_detail.tags.all %}
<div class="column is-6">
<div class="field">
<label class="label">
<span class="icon"><i class="fas fa-tags"></i></span>
{% trans "Tags" %}:
</label>
<div class="control">
{% for tag in object_detail.tags.all %}
<span class="tag is-info mt-1">{{ tag.name }}</span>
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>

0 comments on commit 3c10f6e

Please sign in to comment.