#132 | #121: backoffice / dev-1.0-121 #131

Merged
thomas merged 151 commits from dev-1.0-121 into develop-1.0 2024-04-28 20:02:14 +00:00
2 changed files with 49 additions and 0 deletions
Showing only changes of commit bf9da835b2 - Show all commits

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 %}