eleven-8.x-1.0-beta5/eleven/templates/modules/workflow/table--config-workflow-workflows.html.twig

eleven/templates/modules/workflow/table--config-workflow-workflows.html.twig
{#
workflow tables layout
 eleven_theme_suggestions_table_alter()
 #}
{{ attach_library('eleven/card') }}

{% if rows %}

{% include themepath ~ '/templates/component/navigation/cardlayout/cardlayout.html.twig' %}

<section class="cards js-card-layout-target">

  {% for row in rows %}
  <article {{ row.attributes.addClass('card') }}>

    <h3 class="card__title card__title--icon card__title--icon-admin-config-workflow-workflows">
      <a href="/{{ row.cells.operations.content['#links'].edit.url.getInternalPath() }}">
        {{ row.cells.label.content}}
      </a>
    </h3>

    <p class="card__text">
      <strong>{{ 'Type'|t }}: </strong>{{ row.cells.type.content['#markup']}}<br>
      <strong>{{ 'States'|t }}: </strong>{{ row.cells.states.content}}
    </p>

    <div class="card__operations">
      {{ row.cells.operations.content }}
    </div>

  </article>
  {% endfor %}
</section>
{% else %}
{{ 'no fields defined'|t }}
{% endif %}

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

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