clean up section and detail views a bit

This commit is contained in:
krmax44 2022-03-15 13:36:08 +01:00
parent fae6f31794
commit 01915865ef
No known key found for this signature in database
GPG key ID: 5C499A4F4EC4EE03
5 changed files with 118 additions and 112 deletions

View file

@ -1,4 +1,4 @@
{% extends CMS_TEMPLATE %}
{% extends "froide_govplan/base.html" %}
{% load i18n %}
{% load markup %}
@ -15,9 +15,9 @@
{% endblock %}
{% block app_body %}
<div class="container mb-5">
<div class="row justify-content-center mb-5">
<div class="col col-lg-8 mt-md-n5">
<div class="container">
<div class="row justify-content-center mb-3">
<div class="col col-lg-12">
<div class="box-card {% comment %} box-card-has-image-lg {% endcomment %} border-yellow md:shadow-yellow bg-white">
<div>
{% comment %} <div class="box-card-image overlap-right text-center">
@ -47,26 +47,24 @@
</div> {% endcomment %}
<div class="flex-grow-1 tight-margin p-3 p-md-4 p-lg-5">
<h1 class="mt-0">
<h1 class="mt-0 h2">
{{ object.title }}
</h1>
<p>
<p class="col-lg-8 px-0">
{% blocktranslate with section=object.title %}
Here you can find all plans of the section "{{section}}", which the coalition constituted in their agreement. On the curresponding detail pages, you'll get more information, stay up to date with news or submit changes.
{% endblocktranslate %}
</p>
{% page_url 'koalitionstracker' as base_url %}
<a href="{{ base_url }}" class="action-link">zurück zu allen Kategorien</a>
<!-- {% page_url 'koalitionstracker' as base_url %}
<a href="{{ base_url }}" class="action-link">zurück zu allen Kategorien</a> -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container">
{% include "froide_govplan/plugins/card_cols.html" with object_list=plans %}
</div>
{% endblock %}