mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 18:03:37 +02:00
Improved title for admin pages.
This commit is contained in:
parent
bebe70d28e
commit
e7e73602a0
1 changed files with 184 additions and 176 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue