{% extends 'layout/admin/base.html' %}
{% from 'macros/datetime.html' import render_datetime %}
{% from 'macros/user_admin.html' import render_user_avatar_16_and_link %}
{% set current_page = 'terms_admin' %}
{% set current_page_brand = brand %}
{% set title = 'Allgemeine Geschäftsbedingungen' %}

{% block body %}

  <h1>{{ title }}</h1>

  <table class="index wide">
    <thead>
      <tr>
        <th>ID</th>
        <th>Titel</th>
        <th>erstellt</th>
        <th>durch</th>
      </tr>
    </thead>
    <tbody>
      {%- for version in versions %}
        <tr>
          <td>{{ version.id }}</td>
          <td>{{ version.title }}</td>
          <td class="nowrap">{{ render_datetime(version.created_at) }}</td>
          <td>{{ render_user_avatar_16_and_link(version.creator) }}</td>
        </tr>
      {%- endfor %}
    </tbody>
  </table>

{%- endblock %}

{% extends 'layout/admin/base.html' %}
{% from 'macros/datetime.html' import render_datetime %}
{% from 'macros/user_admin.html' import render_user_avatar_16_and_link %}
{% set current_page = 'terms_admin' %}
{% set current_page_brand = brand %}
{% set title = 'Allgemeine Geschäftsbedingungen' %}

{% block body %}

  <h1>{{ title }}</h1>

  <table class="index wide">
    <thead>
      <tr>
        <th>Titel<br>ID</th>
        <th>Erstellt</th>
      </tr>
    </thead>
    <tbody>
      {%- for version in versions %}
        <tr>
          <td>
            <strong>{{ version.title }}</strong><br>
            {{ version.id|dim }}
          </td>
          <td>
            <span class="nowrap">{{ render_datetime(version.created_at) }}</span><br>
            von {{ render_user_avatar_16_and_link(version.creator) }}
          </td>
        </tr>
      {%- endfor %}
    </tbody>
  </table>

{%- endblock %}

Change admin terms versions list layout to use two lines per row and require less width
Change admin terms versions list layout to use two lines per row and require less width
