Improved title for admin pages.

This commit is contained in:
Jan Böhmer 2020-06-07 19:58:05 +02:00
parent bebe70d28e
commit e7e73602a0

View file

@ -1,5 +1,13 @@
{% extends "main_card.html.twig" %}
{% block title %}
{% if entity.id is null %}
{{ block("new_title") }}
{% else %}
{{ block("edit_title") }}
{% endif %}
{% endblock %}
{% block card_type %}
{% if timeTravel is defined and timeTravel is not null %}
bg-primary-striped text-white