add missing files

This commit is contained in:
bkfox 2023-11-02 21:58:13 +01:00
parent 7b28149d7e
commit bf9da835b2
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{% extends "aircox/widgets/header.html" %}
{% block header-nav %}
{{ block.super }}
<div>
<a class="heading" href="{{ object.program.get_absolute_url }}">
{{ object.program.display_title }}
</a>
</div>
{% endblock %}

View File

@ -0,0 +1,39 @@
{% load i18n %}
{% block outer %}
<article class="preview {% if not cover %}no-cover {% endif %}{% if is_active %}is-active{% endif %}{% block tag-class %}{{ tag_class|default:"" }}{% endblock %}"
style="{% block tag-style %}{{ tag_style }}{% endblock %}">
{% block inner %}
{% block headings-container %}
<header class="headings{% block headings-class %}{% endblock %}" >
{% block headings %}
<div>
<a href="{{ url|escape }}" class="heading title">{% block title %}{{ title|default:"" }}{% endblock %}</a>
</div>
<div>
<span class="heading subtitle">{% block subtitle %}{{ subtitle|default:"" }}{% endblock %}</span>
</div>
{% endblock %}
</header>
{% endblock %}
{% block content-container %}
<section class="content headings-container">
{% block content %}
{% if content and with_content %}
{% autoescape off %}
{{ content|striptags|linebreaks }}
{% endautoescape %}
{% endif %}
{% endblock %}
</section>
{% endblock %}
{% block actions-container %}
<div class="actions">
{% block actions %}{% endblock %}
</div>
{% endblock %}
{% endblock %}
</article>
{% endblock %}