cleaner table for None values

This commit is contained in:
Philip Sargent 2022-08-16 17:42:13 +03:00
parent 51f5261bfc
commit 1a49e5347f
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
<td style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.walletname}}</a></td>
<td style="padding:2px">{% if wallet.date %}{{wallet.date}}{% else %} {% endif %}</td>
<td style="padding:2px">{{wallet.name}}</td>
<td style="padding:2px">{% if wallet.name %}{{wallet.name}}{% else %} {% endif %}</td>
<td style="padding:2px">{{wallet.persons}}</td>
<td align="center" style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.singlescan_set.all|length}}</a></td>

View File

@ -26,7 +26,7 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
<td style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.walletname}}</a></td>
<td style="padding:2px" >{% if wallet.date %}{{wallet.date}}{% else %} {% endif %}</td>
<td style="padding:2px">{{wallet.name}}</td>
<td style="padding:2px">{% if wallet.name %}{{wallet.name}}{% else %} {% endif %}</td>
<td style="padding:2px">{{wallet.persons}}</td>
<td style="padding:2px">{{wallet.cave}}</td>

View File

@ -26,7 +26,7 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
<td style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.walletname}}</a></td>
<td style="padding:2px">{% if wallet.date %}{{wallet.date}}{% else %} {% endif %}</td>
<td style="padding:2px">{{wallet.name}}</td>
<td style="padding:2px">{% if wallet.name %}{{wallet.name}}{% else %} {% endif %}</td>
<td style="padding:2px">{{wallet.persons}}</td>
<td style="padding:2px">{{wallet.cave}}</td>