Bugfix: hude club field when empty

This commit is contained in:
Vivek Santayana 2022-08-11 11:41:57 +01:00
parent 26a6248a61
commit d140f93d25
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@
</div> </div>
{{ entry.get_email() }} {{ entry.get_email() }}
</li> </li>
{% if entry.club %} {% if entry.get_club() %}
<li class="list-group-item list-group-item-action"> <li class="list-group-item list-group-item-action">
<div class="d-flex w-100 justify-content-between"> <div class="d-flex w-100 justify-content-between">
<h5 class="mb-1">Club</h5> <h5 class="mb-1">Club</h5>

View File

@ -22,7 +22,7 @@
</div> </div>
{{ entry.get_email() }} {{ entry.get_email() }}
</li> </li>
{% if entry.club %} {% if entry.get_club() %}
<li class="list-group-item list-group-item-action"> <li class="list-group-item list-group-item-action">
<div class="d-flex w-100 justify-content-between"> <div class="d-flex w-100 justify-content-between">
<h5 class="mb-1">Club</h5> <h5 class="mb-1">Club</h5>

View File

@ -40,7 +40,7 @@
{{ entry.get_surname() }}, {{ entry.get_first_name() }} {{ entry.get_surname() }}, {{ entry.get_first_name() }}
</td> </td>
<td> <td>
{% if entry.club %} {% if entry.get_club() %}
{{ entry.get_club() }} {{ entry.get_club() }}
{% endif %} {% endif %}
</td> </td>

View File

@ -11,7 +11,7 @@
<strong class="results-details">Email Address</strong>: {{ entry.get_email() }} <br /> <strong class="results-details">Email Address</strong>: {{ entry.get_email() }} <br />
{% if entry.club %} {% if entry.get_club() %}
<strong class="results-details">Club</strong>: {{ entry.get_club() }} <br /> <strong class="results-details">Club</strong>: {{ entry.get_club() }} <br />
{% endif%} {% endif%}