eleven-8.x-1.0-beta5/eleven/templates/layout-landing/permissions/_table--people-permissions.html.twig

eleven/templates/layout-landing/permissions/_table--people-permissions.html.twig
{{ attach_library('eleven/table.admin') }}
{{ attach_library('eleven/table.responsive') }}
{{ attach_library('eleven/button') }}
{{ attach_library('eleven/permissions') }}


<table{{ attributes.addClass(classes) }}>

  {% if caption %}
    <caption>{{ caption }}</caption>
  {% endif %}

  {% if header %}
    <thead>
      <tr>
        {% for cell in header %}
          {%
            set cell_classes = [
              cell.active_table_sort ? 'is-active',
            ]
          %}

          <{{ cell.tag }}{{ cell.attributes.addClass(cell_classes) }}>
            {#
            {% if loop.index == 1%}
              {{cell.content}}
            {% else %}
            <span data-helptext="{{cell.content}}" class="u-visible u-visible@sm u-visible@l u-visible@xl">
              {{ cell.content|slice(0,4) }}
            </span>
            <span class="u-visible u-visible@s">
            {{ cell.content }}
            </span>
            {% endif %}
            #}
            {{ cell.content }}
          </{{ cell.tag }}>
        {% endfor %}
      </tr>
    </thead>
  {% endif %}

  {% if rows %}
    <tbody>
      {% for row in rows %}
        <tr{{ row.attributes }}>
          {% for cell in row.cells %}
            <{{ cell.tag }}{{ cell.attributes }}>

              {{- cell.content -}}
            </{{ cell.tag }}>
          {% endfor %}
        </tr>
      {% endfor %}
    </tbody>
  {% elseif empty %}
    <tbody>
      <tr class="odd">
        <td colspan="{{ header_columns }}" class="empty message">{{ empty }}</td>
      </tr>
    </tbody>
  {% endif %}
  {% if footer %}
    <tfoot>
      {% for row in footer %}
        <tr{{ row.attributes }}>
          {% for cell in row.cells %}
            <{{ cell.tag }}{{ cell.attributes }}>
              {{- cell.content -}}
            </{{ cell.tag }}>
          {% endfor %}
        </tr>
      {% endfor %}
    </tfoot>
  {% endif %}
</table>

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

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