{# Maintaining the codes: every row there is, in a table, newest per door first. The counterpart of access_code/index.html.twig, which shows one card per door with the code that works today and nothing else. Everything the quick look leaves out is here -- rows the controller marked `upcoming` or `superseded`, muted and labelled -- because this is the screen on which a rotation is planned and checked. „Für wen" is the visibility itself: it decides who is served the row and says so in the same breath, so there is nothing to keep in step between the two. #} {% extends 'layout.html.twig' %} {% block title %}Zugangscodes verwalten · E&P Platz{% endblock %} {% block content %} ← Zugangscodes
Noch nichts hinterlegt.
{% else %}| Bezeichnung | Beschreibung | Code | sichtbar für | gültig ab | Aktionen |
|---|---|---|---|---|---|
| {{ row.code.label }} | {{ row.code.description }} | {{ row.code.code }} | {% if row.code.visibility.isRestricted %} {{ row.code.visibility.label }} {% else %} {{ row.code.visibility.label }} {% endif %} | {{ row.code.validFrom|format_date(pattern: 'd.MM.y') }} {% if row.upcoming %} noch nicht gültig {% elseif row.superseded %} ersetzt {% endif %} |
|