this sets the max count on columns to 5 on the feature table, as suggested in #115 (#141)

This commit is contained in:
paul van genuchten
2019-05-27 13:25:10 +02:00
committed by Tom Kralidis
parent 9ecdd2e710
commit 7e8be994a6
+4
View File
@@ -32,7 +32,9 @@
<tr>
<th>id</th>
{% for k, v in data['features'][0]['properties'].items() %}
{% if loop.index < 5 %}
<td>{{ k }}</td>
{% endif %}
{% endfor %}
</tr>
</thead>
@@ -41,7 +43,9 @@
<tr>
<td data-label="id"><a href="{{ data['items_path']}}/{{ ft.id }}">{{ ft.id }}</a></td>
{% for k, v in ft['properties'].items() %}
{% if loop.index < 5 %}
<td data-label="{{ k }}">{{ v | urlize(20, target='_blank') }}</td>
{% endif %}
{% endfor %}
</tr>
{% endfor %}