paperwork: Hide list addresses in department cert view if None
This commit is contained in:
parent
47531d6f16
commit
45d550878d
@ -16,7 +16,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{{ department.name }}</td>
|
<td>{{ department.name }}</td>
|
||||||
<td>{{ department.shop_lead_flag.members.all|join:", " }}</td>
|
<td>{{ department.shop_lead_flag.members.all|join:", " }}</td>
|
||||||
<td><a href="mailto:{{ department.list_address }}">{{ department.list_address }}</a></td>
|
<td>{% if department.list_address is not none %}<a href="mailto:{{ department.list_address }}">{{ department.list_address }}</a>{% endif %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user