notification: add selector on title, move styles

This commit is contained in:
2022-01-10 15:59:36 +01:00
parent af6f3043ae
commit d60938352b
4 changed files with 34 additions and 36 deletions

View File

@@ -1,6 +1,6 @@
<div class="item-bloc {% if not notification.isReadBy(app.user) %}unread{% else %}read{% endif %}">
<div class="item-row title">
<h2>
<h2 class="notification-title">
<a href="{{ chill_path_add_return_path('chill_main_notification_show', {'id': notification.id}) }}">
{{ notification.title }}
</a>

View File

@@ -9,7 +9,7 @@
{% if not notification.isSystem %}
{% if notification.sender == app.user %}
<h6>
<h6 class="notification-title">
<abbr title="{{ 'Le ' ~ notification.date|format_date('long') ~ '\n' ~ notification.title }}">
{{ notification.date|format_datetime('short','short') }}
</abbr>