card title block on page_item widget

This commit is contained in:
bkfox
2022-02-18 16:36:05 +01:00
parent 2e070ab2c3
commit cbae38e893
4 changed files with 81 additions and 61 deletions

View File

@ -13,7 +13,11 @@ Context variables:
{% block title %}
{% if not object.is_published and object.program.is_published %}
<a href="{{ object.program.get_absolute_url }}">
{{ object.title }}
{{ object.program.title }}
{% if diffusion %}
&mdash;
{{ diffusion.start|date:"d F" }}
{% endif %}
</a>
{% else %}
{{ block.super }}