diff --git a/templates/cavewallets.html b/templates/cavewallets.html index 20dfb0c..86c85b9 100644 --- a/templates/cavewallets.html +++ b/templates/cavewallets.html @@ -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> diff --git a/templates/personwallets.html b/templates/personwallets.html index c7ea152..dd1ae20 100644 --- a/templates/personwallets.html +++ b/templates/personwallets.html @@ -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> diff --git a/templates/yearwallets.html b/templates/yearwallets.html index 40f1379..3036ccc 100644 --- a/templates/yearwallets.html +++ b/templates/yearwallets.html @@ -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>