From 7b89593bdc707dcc4201be30ea1c44f3d079b43b Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Mon, 15 Jan 2018 10:40:49 +0100
Subject: [PATCH] Create noconsent.twig

---
 modules/consent/templates/noconsent.twig | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 modules/consent/templates/noconsent.twig

diff --git a/modules/consent/templates/noconsent.twig b/modules/consent/templates/noconsent.twig
new file mode 100644
index 000000000..f9b623aa0
--- /dev/null
+++ b/modules/consent/templates/noconsent.twig
@@ -0,0 +1,16 @@
+{% set pagetitle = '{consent:consent:noconsent_title}'|trans %}
+{% extends "base.twig" %}
+{% block content %}
+    <h2>{{ header }}</h2>
+    <p>{{ noconsent_text }}</p>
+
+    {% if resumeFrom %}
+    <p><a href="{{ resumeFrom|escape('url') }}">{{ '{consent:consent:noconsent_return}'|trans }}</a></p>
+    {% endif %}
+
+    {% if aboutService %}
+    <p><a href="{{ aboutService|escape('url') }}">{{ '{consent:consent:noconsent_goto_about}'|trans }}</a></p>
+    {% endif %}
+
+    <p><a href="{{ logoutLink|escape('url') }}">{{ noconsent_abort }}</a></p>
+{% endblock %}
-- 
GitLab