<div class="table full-width">
<div class="table-row">
<div class="table-cell table-header">{{ __("Revision") }}</div>
{% if can('publish') %}
<div class="table-cell table-header">{{ __("User") }}</div>
{% endif %}
<div class="table-cell table-header">{{ __("Size") }}</div>
<div class="table-cell table-header">{{ __("Date / Time") }}</div>
<div class="table-cell table-header">{{ __("Published?") }}</div>
</div>
{% for hist in history %}
<div class="table-row">
<div class="table-cell">
<a href="{{ cabin_url() }}blog/post/history/{{ blog.postid }}/view/{{ hist.uniqueid|e("url") }}">{{ hist.uniqueid }}</a>
</div>
{% if can('publish') %}
<div class="table-cell">
{{ user_unique_id(hist.bridge_user) }}
</div>
{% endif %}
<div class="table-cell" title="{{ hist.body|length }} body, {{ hist.metadata|json_encode|length }} metadata">
{{ hist.body|length + hist.metadata|json_encode|length }}
</div>
<div class="table-cell">
{{ hist.created|date('Y-m-d g:i:s A') }}
</div>
<div class="table-cell">
{% if hist.published %}
<i class="fa fa-check" title="Yes"></i>
{% else %}
<i class="fa fa-close" title="No"></i>
{% endif %}
</div>
</div>
{% endfor %}
</div>
|