PHP Classes

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

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   src/Cabin/Bridge/View/cargo/bridge_blog_series.twig   Download  
File: src/Cabin/Bridge/View/cargo/bridge_blog_series.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: 2,178 bytes


Class file image Download
{% if can_create() %} <a href="{{ cabin_url() }}blog/series/new" class="pure-button pure-button-secondary float-right"> <i class="fa fa-list-alt"></i> {{ __("New Series") }} </a> <h2 class="bottom-pad">{{ __("Series") }}</h2> <hr /> {% endif %} {% if series %} <div class="table full-width" id="bridge_blog_series_list"> <div class="table-row table-header"> <div class="table-cell"></div> <div class="table-cell"> {{ __("Series Name") }} </div> <div class="table-cell"> {{ __("Author") }} </div> <div class="table-cell"> {{ __("# Items") }} </div> </div> {% for ser in series %} <div class="table-row"> <div class="table-cell table-min-width"> <a class="pure-button pure-button-primary" href="{{ cabin_url() }}blog/series/edit/{{ ser.seriesid|e('html_attr') }}" > <i class="fa fa-pencil"></i> </a> <a class="pure-button pure-button-secondary" href="{{ cabin_url() }}blog/series/delete/{{ ser.seriesid|e('html_attr') }}" > <i class="fa fa-trash-o"></i> </a> </div> <div class="table-cell"> {{ }} </div> <div class="table-cell"> <a href="{{ cabin_url() }}author/edit/{{ ser.author_data.authorid|e('html_attr') }}">{# #}{{ }}{# #}</a> </div> <div class="table-cell"> {{ ser.num_items|number_format }} </div> </div> {% endfor %} </div> <div id="bridge_blog_pagination"> {% include cargo("bridge_blog_pagination") %} </div> {% else %} <p>{{ __("There are no series available.") }}</p> {% endif %} <p> {% if can_create() %} <a href="{{ cabin_url() }}blog/series/new" class="pure-button pure-button-secondary"> <i class="fa fa-list-alt"></i> {{ __("New Series") }} </a> {% endif %} </p>