From ecca7a2445830d7610a7e4e885545a610bf6772f Mon Sep 17 00:00:00 2001 From: Jiro Ghianni Date: Thu, 16 May 2024 17:40:42 +0200 Subject: [PATCH] :construction: [#2473] Experiment with replacement --- src/open_inwoner/components/readme.md | 2 +- .../components/templates/components/Button/Button.html | 2 +- src/open_inwoner/components/templatetags/button_tags.py | 2 +- src/open_inwoner/scss/components/Button/Button.scss | 2 +- src/open_inwoner/scss/components/Typography/H1.scss | 1 - src/open_inwoner/scss/components/Typography/H2.scss | 1 - src/open_inwoner/scss/components/Typography/H3.scss | 1 - src/open_inwoner/scss/components/Typography/H4.scss | 1 - src/open_inwoner/scss/views/_index.scss | 2 ++ .../scss/views/_nl-design-system-community.scss | 9 +++++++++ .../scss/views/_nl-design-system-oip-theme.scss | 6 ++++++ src/open_inwoner/templates/500.html | 2 +- .../templates/djangocms_link/arrow/link.html | 2 +- src/open_inwoner/templates/pages/cases/status_inner.html | 2 +- .../templates/pages/contactmoment/detail.html | 4 ++-- 15 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 src/open_inwoner/scss/views/_nl-design-system-community.scss create mode 100644 src/open_inwoner/scss/views/_nl-design-system-oip-theme.scss diff --git a/src/open_inwoner/components/readme.md b/src/open_inwoner/components/readme.md index a5b62a711a..6bfbcbe478 100644 --- a/src/open_inwoner/components/readme.md +++ b/src/open_inwoner/components/readme.md @@ -96,7 +96,7 @@ Given an example of a hyperlink with an icon: ```html {% load i18n %} - + arrow_forward {% trans 'My messages' %} diff --git a/src/open_inwoner/components/templates/components/Button/Button.html b/src/open_inwoner/components/templates/components/Button/Button.html index 5b79bb464d..1478a26395 100644 --- a/src/open_inwoner/components/templates/components/Button/Button.html +++ b/src/open_inwoner/components/templates/components/Button/Button.html @@ -2,7 +2,7 @@ {% if href %} Sorry, a server error has occurred (500)

We have been automatically notified about the problem and will investigate as soon as possible.

- Back to home + Back to home

diff --git a/src/open_inwoner/templates/djangocms_link/arrow/link.html b/src/open_inwoner/templates/djangocms_link/arrow/link.html index 8fe6d21873..686e5f1ec1 100644 --- a/src/open_inwoner/templates/djangocms_link/arrow/link.html +++ b/src/open_inwoner/templates/djangocms_link/arrow/link.html @@ -1,4 +1,4 @@ {% load cms_tags button_tags icon_tags i18n %}{% spaceless %} {# copied and modified from 'default' #} {# this needs to be in one line for rendering purpose #} -{% endspaceless %}{% icon icon="arrow_forward" %}{% for plugin in instance.child_plugin_instances %}{% render_plugin plugin %}{% empty %}{{ instance.name }}{% endfor %} +{% endspaceless %}{% icon icon="arrow_forward" %}{% for plugin in instance.child_plugin_instances %}{% render_plugin plugin %}{% empty %}{{ instance.name }}{% endfor %} diff --git a/src/open_inwoner/templates/pages/cases/status_inner.html b/src/open_inwoner/templates/pages/cases/status_inner.html index b65d1e288a..0b84912b1b 100644 --- a/src/open_inwoner/templates/pages/cases/status_inner.html +++ b/src/open_inwoner/templates/pages/cases/status_inner.html @@ -74,7 +74,7 @@

3 %} diff --git a/src/open_inwoner/templates/pages/contactmoment/detail.html b/src/open_inwoner/templates/pages/contactmoment/detail.html index 20006d34fa..e1073dcff8 100644 --- a/src/open_inwoner/templates/pages/contactmoment/detail.html +++ b/src/open_inwoner/templates/pages/contactmoment/detail.html @@ -26,13 +26,13 @@

{% trans "Antwoord" %}

{% endif %}
- + {% icon "arrow_backward" %}{{ origin.label }}
{% if destination %}
- + {{ destination.label }}{% icon "arrow_forward" %}