--- /dev/null
+{% extends "2022/base.html" %}
+{% load i18n %}
+
+{% block content %}
+ <div class="l-container">
+ <div class="l-breadcrumb">
+ <a href="/"><span>Strona główna</span></a>
+ <a>{{ page_title }}</a>
+ </div>
+ </div>
+
+ <main class="l-main">
+ <div class="l-checkout__box" style="margin-bottom: 70px;">
+ <div class="l-checkout__box__header">
+ <div class="l-checkout__box__header__content">
+ <h1>{{ page_title }}</h1>
+ </div>
+ </div>
+
+ <div class="l-checkout__cols">
+ <div class="l-checkout__col"></div>
+ <div class="l-checkout__col">
+ {% trans "You have subscribed to Wolne Lektury newsletter." %}
+ </div>
+ </div>
+ </div>
+ </main>
+{% endblock %}
def subscribed(request):
- return render(request, 'newsletter/subscribed.html', {
+ new_layout = request.EXPERIMENTS['layout'].value
+ if new_layout:
+ template_name = 'newsletter/2022/subscribed.html'
+ else:
+ template_name = 'newsletter/subscribed.html'
+ return render(request, template_name, {
'page_title': _('Subscribed'),
})