64 lines
1.9 KiB
HTML
64 lines
1.9 KiB
HTML
<table class="full-width data-table">
|
|
<thead>
|
|
<tr>
|
|
{% if "filename" not in skip_columns %}
|
|
<th>{{ _("filename") }}</th>
|
|
{% endif %}
|
|
{% if "title" not in skip_columns %}
|
|
<th>{{ _("title") }}</th>
|
|
{% endif %}
|
|
{% if "body" not in skip_columns %}
|
|
<th>{{ _("body") }}</th>
|
|
{% endif %}
|
|
{% if "tag" not in skip_columns %}
|
|
<th>{{ _("tag") }}</th>
|
|
{% endif %}
|
|
{% if "created_dt" not in skip_columns %}
|
|
<th>{{ _("created_dt") }}</th>
|
|
{% endif %}
|
|
{% if "updated_dt" not in skip_columns %}
|
|
<th>{{ _("updated_dt") }}</th>
|
|
{% endif %}
|
|
<th>{{ _("Actions") }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for instance in instances %}
|
|
<tr>
|
|
{% if "filename" not in skip_columns %}
|
|
<td>
|
|
{{ instance.filename }}
|
|
</td>
|
|
{% endif %}
|
|
{% if "title" not in skip_columns %}
|
|
<td>
|
|
{{ instance.title }}
|
|
</td>
|
|
{% endif %}
|
|
{% if "body" not in skip_columns %}
|
|
<td>
|
|
{{ instance.body }}
|
|
</td>
|
|
{% endif %}
|
|
{% if "tag" not in skip_columns %}
|
|
<td>
|
|
{{ instance.tags }}
|
|
</td>
|
|
{% endif %}
|
|
{% if "created_dt" not in skip_columns %}
|
|
<td>
|
|
{{ instance.created_dt }}
|
|
</td>
|
|
{% endif %}
|
|
{% if "updated_dt" not in skip_columns %}
|
|
<td>
|
|
{{ instance.updated_dt }}
|
|
</td>
|
|
{% endif %}
|
|
<td>
|
|
{% include "blog_post/_actions.html" %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table> |