Better handling of blank lists.
This commit is contained in:
parent
b8f89c5ee3
commit
c18df55b4f
1 changed files with 7 additions and 1 deletions
|
|
@ -39,6 +39,10 @@
|
||||||
<td>{{ object.db.desc }}</td>
|
<td>{{ object.db.desc }}</td>
|
||||||
<td>{{ object.subscriptions.all|length }}</td>
|
<td>{{ object.subscriptions.all|length }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{% empty %}
|
||||||
|
<tr>
|
||||||
|
<td colspan="3">No channels were found!</td>
|
||||||
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
@ -56,6 +60,7 @@
|
||||||
<hr />
|
<hr />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if most_popular %}
|
||||||
<div class="card mb-3">
|
<div class="card mb-3">
|
||||||
<div class="card-header">Most Popular</div>
|
<div class="card-header">Most Popular</div>
|
||||||
|
|
||||||
|
|
@ -66,13 +71,14 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end right column -->
|
<!-- end right column -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue