Skip to content

Commit

Permalink
apps/organisation: wrap richtext content in ck-content div and add ds…
Browse files Browse the repository at this point in the history
…gvo-embed to organisation info page
  • Loading branch information
goapunk authored and m4ra committed Mar 28, 2024
1 parent f2784fb commit 910f82b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
Expand Up @@ -14,7 +14,9 @@
</div>
</div>
<h1>{% translate 'Data protection' %}</h1>
{{ organisation.data_protection|richtext }}
<div class="ck-content">
{{ organisation.data_protection|richtext }}
</div>
</div>
</div>
{% include 'footer_upper.html' with organisation=organisation %}
Expand Down
Expand Up @@ -14,7 +14,9 @@
</div>
</div>
<h1>{% translate 'Imprint' %}</h1>
{{ organisation.imprint|richtext }}
<div class="ck-content">
{{ organisation.imprint|richtext }}
</div>
</div>
</div>
{% include 'footer_upper.html' with organisation=organisation %}
Expand Down
@@ -1,5 +1,16 @@
{% extends 'base.html' %}
{% load ckeditor_tags i18n thumbnail wagtailcore_tags %}
{% load static ckeditor_tags i18n thumbnail wagtailcore_tags %}

<!-- ensure cookie overlay for embedded videos -->
{% block extra_css %}
{{ block.super }}
<link rel="stylesheet" href="{% static 'dsgvo_video_embed.css' %}" />
{% endblock %}

{% block extra_js %}
{{ block.super }}
<script type="text/javascript" src="{% static 'dsgvo_video_embed.js' %}"></script>
{% endblock %}

{% block title %}{% translate 'Information' %} &mdash; {{ block.super }}{% endblock %}

Expand All @@ -17,7 +28,9 @@
<div class="row">
<div class="col-md-10 offset-md-1 col-lg-8 offset-lg-2">
<h1>{% translate 'Information' %}</h1>
{{ organisation.information | transform_collapsibles | richtext }}
<div class="ck-content">
{{ organisation.information | transform_collapsibles | richtext }}
</div>
</div>
</div>

Expand Down
Expand Up @@ -14,7 +14,9 @@
</div>
</div>
<h1>{% translate 'Netiquette' %}</h1>
{{ organisation.netiquette|richtext }}
<div class="ck-content">
{{ organisation.netiquette|richtext }}
</div>
</div>
</div>
{% include 'footer_upper.html' with organisation=organisation %}
Expand Down
Expand Up @@ -14,7 +14,9 @@
</div>
</div>
<h1>{% translate 'Terms of use' %}</h1>
{{ organisation.terms_of_use|richtext }}
<div class="ck-content">
{{ organisation.terms_of_use|richtext }}
</div>
</div>
</div>
{% include 'footer_upper.html' with organisation=organisation %}
Expand Down

0 comments on commit 910f82b

Please sign in to comment.