Fix data retention page

This commit is contained in:
Tom Byers
2020-08-27 15:57:48 +01:00
parent 50c3475eb3
commit 17f74cf621

View File

@@ -29,12 +29,13 @@
By default data is kept for 7 days
</div>
</div>
<div class="user-list">
{% if not current_service.data_retention %}
<div class="user-list">
<div class="user-list-item">
<span class="hint">You have not added any data retention</span>
<p class="govuk-body user-list-item-blank hint">You have not added any data retention</p>
</div>
{% endif %}
</div>
{% else %}
{% call mapping_table(
caption='Data retention',
field_headings=['Label', 'Value', 'Action'],
@@ -50,6 +51,6 @@
{% endfor %}
{% endcall %}
</div>
{% endif %}
{% endblock %}