forked from rc/aircox
card title block on page_item widget
This commit is contained in:
@ -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 %}
|
||||
—
|
||||
{{ diffusion.start|date:"d F" }}
|
||||
{% endif %}
|
||||
</a>
|
||||
{% else %}
|
||||
{{ block.super }}
|
||||
|
Reference in New Issue
Block a user