{% extends 'template/template.j2.html' %} {% block title %} {{ $t('Example SQLite') }} {% endblock %} {% block content %}
|
{% set pageSize = data.pageSize | default("10") %}
{% set randonString = $e.randomString() %}
|
|||||
|---|---|---|---|---|---|
|
{{ $l.macro("/template/ui/sorting", {'sortby': 'b.id', 'title': 'mysql.table.header.id'} ) }}
|
{{ $l.macro("/template/ui/sorting", {'sortby': 'title', 'title': 'mysql.table.header.title'} ) }} | {{ $l.macro("/template/ui/sorting", {'sortby': 'author', 'title': 'mysql.table.header.author'} ) }} | {{ $l.macro("/template/ui/sorting", {'sortby': 'published_date', 'title': 'mysql.table.header.publishedDate'} ) }} | {{ $l.macro("/template/ui/sorting", {'sortby': 'category_id', 'title': 'mysql.table.header.categoryId'} ) }} | {{ $t('database.table.header.action') }} |
| {{ book.id }} | {{ book.title }} | {{ book.author }} | {{ book.published_date | dateFormat('dd/MM/y') }} | {{ book.category_title }} | |
| {{ $t('mysql.message.noRecords') }} | |||||