l10n_server-2.x-dev/l10n_server/templates/l10n-server-release.html.twig

l10n_server/templates/l10n-server-release.html.twig
{#
/**
 * @file
 * Default theme implementation to present a release entity.
 *
 * This template is used when viewing a canonical release page,
 *
 * Available variables:
 * - content: A list of content items. Use 'content' to print all content, or
 *   print a subset such as 'content.label'.
 * - attributes: HTML attributes for the container element.
 *
 * @see template_preprocess_l10n_server_release()
 */
#}
<article{{ attributes }}>

  <h2>{{ 'Basic release information'|t }}</h2>

  <div class="release-information">
    <table>
      <thead>
        <tr>
          <th>
            <span>{{ 'Release'|t }}</span>
          </th>
          <th>
            <span>{{ 'Download'|t }}</span>
          </th>
          <th>
            <span>{{ 'File date'|t }}</span>
          </th>
          <th>
            <span>{{ 'Last parsed'|t }}</span>
          </th>
          <th>
            <span>{{ 'Files'|t }}</span>
          </th>
          <th>
            <span>{{ 'Strings'|t }}</span>
          </th>
          <th>
            <span>{{ 'Warnings'|t }}</span>
          </th>
        </tr>
      </thead>
      <tbody>
      <tr>
        <td>
          <span>{{ content.title }}</span>
        </td>
        <td>
          <span><a target="_blank" href="{{ content.download_link.0 }}">{{ content.download_link.0 }}</a></span>
        </td>
        <td>
          <span>{{ content.file_date.0 }}</span>
        </td>
        <td>
          <span>{{ content.last_parsed.0 }}</span>
        </td>
        <td>
          <span>{{ content.fid_count.0 }}</span>
        </td>
        <td>
          <span>{{ content.sid_count.0 }}</span>
        </td>
        <td>
          <span>{{ content.eid_count.0 }}</span>
        </td>
      </tr>
      </tbody>
    </table>
  </div>

  <div class="warnings">
    {{ content.warnings }}
  </div>

  <div class="files">
    {{ content.files }}
  </div>

</article>

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

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