Commit cc7339bf authored by Merret Buurman's avatar Merret Buurman
Browse files

Inform that data is not published, if no host/url given.

parent 90e33890
......@@ -129,12 +129,12 @@
<div class="section">
<h2>Dataset host(s)</h2>
<table>
{% if hosts_original or hosts_replicas %}
<table>
{% if hosts_original %}
{% for entry in hosts_original %}
<tr>
<td class="leftcol">{{entry.host}}</td>
<td class="leftcol"><a href="http://{{entry.host}}">{{entry.host}}</a> (original)</td>
<td></td>
</tr>
{% endfor %}
......@@ -147,8 +147,13 @@
</tr>
{% endfor %}
{% endif %}
</table>
{% else %}
<tr>
<td class="leftcol">This dataset is not available at any hosts right now.</td>
</tr>
{% endif %}
</table>
</div>
......
......@@ -88,9 +88,8 @@
<div class="section">
<h2>Data access</h2>
<table>
{% if urls_original or urls_replicas %}
<table>
{% if urls_original %}
{% for entry in urls_original %}
<tr>
......@@ -107,8 +106,12 @@
</tr>
{% endfor %}
{% endif %}
</table>
{% else %}
<tr>
<td class="leftcol">This dataset is not available at any hosts right now.</td>
</tr>
{% endif %}
</table>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment