Hide both the label and the number of datasets when 'status' is not available
This commit is contained in:
parent
4dfd091aec
commit
f26baf6c09
|
@ -21,15 +21,10 @@
|
|||
{% endif %}
|
||||
<div class="nums">
|
||||
<dl>
|
||||
<dt>
|
||||
{{ _('Datasets') }}
|
||||
</dt>
|
||||
|
||||
<dd>
|
||||
{% if c.harvest_source.status %}
|
||||
{{ c.harvest_source.status.total_datasets }}
|
||||
<dt>{{ _('Datasets') }}</dt>
|
||||
<dd>{{ c.harvest_source.status.total_datasets }}</dd>
|
||||
{% endif %}
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue