forked from leftypol/leftypol
Based on #157 and #158, revert back to existence checks and length rather than default empty array initialization for ease of reading
This commit is contained in:
parent
878b9aa420
commit
a5650df053
8 changed files with 10 additions and 10 deletions
|
@ -87,7 +87,7 @@
|
|||
</ul>
|
||||
</form>
|
||||
|
||||
{% if logs|default([])|length > 0 %}
|
||||
{% if logs and logslength > 0 %}
|
||||
<table class="modlog" style="width:600px">
|
||||
<tr>
|
||||
<th>{% trans 'IP address' %}</th>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue