notificaiton: add title to list and forms

This commit is contained in:
2022-01-04 11:32:15 +01:00
parent 0edd5667e0
commit 5bb5468198
6 changed files with 25 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
{% extends "@ChillMain/layout.html.twig" %}
{% block title 'notification.show notification from %sender%'|trans({ '%sender%': notification.sender|chill_entity_render_string }) %}
{% block title 'notification.show notification from %sender%'|trans({ '%sender%': notification.sender|chill_entity_render_string })~' '~notification.title %}
{% block js %}
{{ parent() }}
@@ -15,7 +15,7 @@
{% block content %}
<div class="row">
<div class="col-md-10">
<h1>{{ 'notification.Notification'|trans }}</h1>
<h1>{{ notification.title }}</h1>
<div>
{% include handler.getTemplate(notification) with handler.getTemplateData(notification) %}