Notifications list template

This commit is contained in:
2022-01-06 16:56:51 +01:00
parent 140f53b81f
commit c32b767d9b
9 changed files with 233 additions and 223 deletions

View File

@@ -20,6 +20,11 @@ span.badge-thirdparty {
span.badge-user {
border-bottom-width: 1px;
&.system {
background-color: $chill-llight-gray;
font-style: italic;
color: $chill-gray;
}
}
span.badge-person {
border-bottom-color: $chill-green;

View File

@@ -2,7 +2,7 @@
{% if period is not null %}
{% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_SEE', period) %}
<a href="{{ path('chill_person_accompanying_course_index', {'accompanying_period_id': notification.relatedEntityId }) }}">
Go to Acc. period.
Show and Go to Accompanying Course
</a>
{% else %}
You are getting a notification for a period you are not allowed to see. This is the minimal details: {{ period.id }}