show documents from person in list of document from course

This commit is contained in:
2023-06-27 18:20:41 +02:00
parent 5495b1cb44
commit 7a1feaa8cb
8 changed files with 171 additions and 17 deletions

View File

@@ -17,7 +17,14 @@
<i class="fa fa-random"></i> {{ accompanyingCourse.id }}
</span>&nbsp;
</div>
{% endif %}
{% elseif context == 'accompanying-period' and person is defined %}
<div>
<span class="badge bg-primary">
{{ 'Document from person %name%'|trans({ '%name%': document.person|chill_entity_render_string }) }}
</span>&nbsp;
</div>
{% endif %}
<div class="denomination h2">
{{ document.title|chill_print_or_message("No title") }}
</div>