Commit 0e8cc514 authored by Merret Buurman's avatar Merret Buurman
Browse files

Template cmip6 footer: Treat case if there is no record content.

parent 1bfb1be3
......@@ -27,21 +27,32 @@
<div class="section lightgrey">
<h2>Content of this handle record</h2>
<table>
{% for key,value in values.items %}
<tr>
<td id="leftcol">{{key}}</td>
<td>{{value}}</td>
</tr>
{% endfor %}
</table>
{% if values %}
<table>
{% for key,value in values.items %}
<tr>
<td id="leftcol">{{key}}</td>
<td>{{value}}</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>No content for this handle record!</p>
{% endif %}
</div>
<div class="section lightgrey">
<h2>Content of this handle record (JSON)</h2>
<p>{{content}}</p>
{% if content %}
<p>{{content}}</p>
{% else %}
<p>No content for this handle record!</p>
{% endif %}
</div>
......
Supports Markdown
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