#8248: Add bookmarks widget to default dashboard

This commit is contained in:
Jeremy Stretch
2023-08-16 10:10:31 -04:00
parent 0a6beb57ab
commit f04fdea927
2 changed files with 36 additions and 21 deletions

View File

@@ -1,3 +1,5 @@
{% load i18n %}
{% if bookmarks %}
<div class="list-group list-group-flush">
{% for bookmark in bookmarks %}
@@ -6,4 +8,9 @@
</a>
{% endfor %}
</div>
{% else %}
<p class="text-center text-muted">
<i class="mdi mdi-information-outline"></i>
{% blocktrans %}No bookmarks have been added yet.{% endblocktrans %}
</p>
{% endif %}