PHP Classes

File: src/Cabin/Bridge/View/cargo/bridge_pages_page_history_list.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   src/Cabin/Bridge/View/cargo/bridge_pages_page_history_list.twig   Download  
File: src/Cabin/Bridge/View/cargo/bridge_pages_page_history_list.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 7 years ago
Size: 1,560 bytes
 

Contents

Class file image Download
<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() }}pages/{{ cabin|e('url') }}/history/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>