forked from ezsystems/PlatformUIBundle
/
view_content_type.html.twig
35 lines (26 loc) · 1.26 KB
/
view_content_type.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{# @var content_type \eZ\Publish\API\Repository\Values\ContentType\ContentType #}
{% extends "eZPlatformUIBundle::pjax_admin.html.twig" %}
{% trans_default_domain "content_type" %}
{% set content_type_group = content_type.contentTypeGroups|first %}
{% set content_type_name = ez_trans_prop(content_type, 'name', language_code) %}
{% block header_breadcrumbs %}
{% set breadcrumb_items = [
{link: path('admin_dashboard'), label: 'dashboard.title'|trans({}, 'dashboard')},
{link: path('admin_contenttype'), label: 'content_type.dashboard_title'|trans},
{link: path('admin_contenttypeGroupView', {'contentTypeGroupId': content_type_group.id}), label: content_type_group.identifier},
{link: null, label: content_type_name}
] %}
{{ parent() }}
{% endblock %}
{% block header_title %}
<h1 class="ez-page-header-name" data-icon="">{{ content_type_name }} [{{ 'content_type.content_count'|transchoice(content_count) }}]</h1>
{% endblock %}
{% block content %}
<section class="ez-serverside-content">
<div class="ez-table-data is-flexible">
<div class="ez-table-data-container">
</div>
</div>
</section>
{% endblock %}
{% block title %}{{ 'content_type.group.list'|trans }}{% endblock %}