PHP Classes

File: public/asset/vendor/select2/docs/plugins/simplesearch/templates/simplesearch_results.html.twig

Recommend this page to a friend!
  Classes of fathurrahman   mnTemplate   public/asset/vendor/select2/docs/plugins/simplesearch/templates/simplesearch_results.html.twig   Download  
File: public/asset/vendor/select2/docs/plugins/simplesearch/templates/simplesearch_results.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: mnTemplate
Route HTTP requests to callback functions
Author: By
Last change:
Date: 1 year ago
Size: 856 bytes
 

Contents

Class file image Download
{% extends 'partials/simplesearch_base.html.twig' %} {% block content %} <div class="content-padding simplesearch"> <h1 class="search-header">{{"PLUGIN_SIMPLESEARCH.SEARCH_RESULTS"|t}}</h1> <div class="center"> {% include 'partials/simplesearch_searchbox.html.twig' %} </div> <p> {% if query %} {% set count = search_results ? search_results.count : 0 %} {% if count == 1 %} {{ "PLUGIN_SIMPLESEARCH.SEARCH_RESULTS_SUMMARY_SINGULAR"|t(query)|raw }} {% else %} {{ "PLUGIN_SIMPLESEARCH.SEARCH_RESULTS_SUMMARY_PLURAL"|t(query, count)|raw }} {% endif %} {% endif %} </p> {% for page in search_results %} {% include 'partials/simplesearch_item.html.twig' with {'page':page} %} {% endfor %} </div> {% endblock %}