claro-8.x-1.x-dev/templates/admin/views-ui-views-listing-table.html.twig

templates/admin/views-ui-views-listing-table.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{#
/**
 * @file
 * Theme override for views listing table.
 *
 * Available variables:
 * - headers: Contains table headers.
 * - rows: Contains multiple rows. Each row contains:
 *   - view_name: The human-readable name of the view.
 *   - machine_name: Machine name of the view.
 *   - description: The description of the view.
 *   - displays: List of displays attached to the view.
 *   - operations: List of available operations.
 *
 * @see template_preprocess_views_ui_views_listing_table()
 *
 * @todo Remove this template after
 */
#}
<table{{ attributes.addClass('responsive-enabled') }}>
  <thead>
    <tr>
      {% for header in headers %}
        <th{{ header.attributes }}>{{ header.data }}</th>
      {% endfor %}
    </tr>
  </thead>
  <tbody>
    {% for row in rows %}
      <tr{{ row.attributes }}>
        <td class="views-ui-view-name">
          <strong data-drupal-selector="views-table-filter-text-source">{{ row.data.view_name.data }}</strong>
        </td>
        <td class="views-ui-view-machine-name" data-drupal-selector="views-table-filter-text-source">
          {{ row.data.machine_name.data }}
        </td>
        <td class="views-ui-view-description" data-drupal-selector="views-table-filter-text-source">
          {{ row.data.description.data }}
        </td>
        <td class="views-ui-view-displays">
          {{ row.data.displays.data }}
        </td>
        <td class="views-ui-view-operations">
          {{ row.data.operations.data }}
        </td>
      </tr>
    {% endfor %}
  </tbody>
</table>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc