Browse Source

check if links are present

main
Evelyn Alicke 2 years ago
parent
commit
110a6b03e3
  1. 4
      leftists/templates/interface/linkedlist.html
  2. 4
      leftists/templates/interface/overview.html

4
leftists/templates/interface/linkedlist.html

@ -4,6 +4,7 @@ @@ -4,6 +4,7 @@
</div>
<div class="ov-table section">
<h4>List of Lonks</h4>
{% if object_list is not empty %}
<table>
<tr>
<th></th>
@ -18,5 +19,8 @@ @@ -18,5 +19,8 @@
</tr>
{% endfor %}
</table>
{% else %}
<p>There are no links in the database for this domain yet.</p>
{% endif %}
</div>
{% endblock %}

4
leftists/templates/interface/overview.html

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
</div>
<div class="ov-table section">
<h4>List of Lonks</h4>
{% if links is not empty %}
<table>
<tr>
<th></th>
@ -23,5 +24,8 @@ @@ -23,5 +24,8 @@
</tr>
{% endfor %}
</table>
{% else %}
<p>There are no links in the database yet.</p>
{% endif %}
</div>
{% endblock %}

Loading…
Cancel
Save