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

4
leftists/templates/interface/overview.html

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

Loading…
Cancel
Save