PHP Classes

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

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

Contents

Class file image Download
<h2>{{ __("Comments") }}</h2> <div class="table" id="bridge_comments_list"> <div class="table-row table-header"> <div class="table-cell"></div> <div class="table-cell"> {{ __("ID") }} </div> <div class="table-cell"> {{ __("Blog Post") }} </div> <div class="table-cell"> {{ __("Reply To") }} </div> <div class="table-cell"> {{ __("Date") }} </div> <div class="table-cell table-min-width"> {{ __("Approved") }} </div> </div> {% for comment in comments %} <div class="table-row"> <div class="table-cell table-min-width"> <a class="pure-button pure-button-primary" href="{{ cabin_url() }}blog/comments/view/{{ comment.commentid|e('html_attr') }}" title="{{ __("View Comment")|e('html_attr') }}" > <i class="fa fa-search"></i> {{ __("View / Manage") }} </a> </div> <div class="table-cell">#{{ comment.commentid|number_format }}</div> <div class="table-cell"> {{ comment.blog.title }} </div> <div class="table-cell"> {% if comment.replyto %} <a{# #} title="{{ __("View Comment")|e('html_attr') }}"{# #} href="{{ cabin_url() }}blog/comments/view/{{ comment.replyto|e('html_attr') }}"{# #}>{# #}#{{ comment.replyto }}{# #}</a> {% else %} &mdash; {% endif %} </div> <div class="table-cell"> {{ comment.created|date( config.format|default('Y-m-d g:i:s A') ) }} </div> <div class="table-cell text-center"> {% if comment.approved %} <i title="Yes" class="fa fa-check blog-comment-approved"></i> {% else %} <i title="No" class="fa fa-close blog-comment-not-approved"></i> {% endif %} </div> </div> {% endfor %} </div> <div id="bridge_blog_pagination"> {% include cargo("bridge_blog_pagination") %} </div>