Files
computer-playbook/roles/web-svc-legal/templates/imprint.html.j2
kevinveenbirkenbachandClaude Opus 4.7 04d31ec038 refactor(host-locale): introduce HOST_CS + HOST_LANG, replace hardcoded UTF-8
group_vars/all/00_general.yml gains:
- HOST_CS:   "UTF-8"                          (POSIX codeset / character encoding)
- HOST_LANG: "{{HOST_LL_CC}}.{{HOST_CS}}"     (full LANG env value, e.g. en_GB.UTF-8)

Replaces the corresponding hardcoded literals at the call sites:
- dev-locales/locale.conf.j2:    LANG/LANGUAGE -> {{ HOST_LANG }}
- dev-locales/locale.gen.j2:     active locale entry -> {{ HOST_LANG }} {{ HOST_CS }}
                                 (also fixes the en_US/en_GB drift against HOST_LL_CC)
- sys-ctl-alm-email/script.sh.j2: MIME charset -> {{ HOST_CS }}
- web-svc-legal/imprint.html.j2: <meta charset=...> -> {{ HOST_CS }}
- web-app-discourse/vars/main.yml: DISCOURSE_LOCAL "C.UTF-8" -> "C.{{ HOST_CS }}"
                                   (keeps the C-locale prefix that the container needs)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 20:47:22 +02:00

46 lines
1.3 KiB
Django/Jinja

<!DOCTYPE html>
<html lang="{{ HOST_LL }}">
<head>
<meta charset="{{ HOST_CS }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Imprint</title>
</head>
<body>
<h1>Imprint</h1>
<h2>Information in accordance with § 5 TMG</h2>
<p>
<strong>{{ service_provider.company.titel }}</strong><br>
{{ service_provider.company.slogan }}<br>
<br>
<strong>Address:</strong><br>
{{ service_provider.company.address.street }}<br>
{{ service_provider.company.address.postal_code }} {{ service_provider.company.address.city }}<br>
{{ service_provider.company.address.country }}
</p>
<h2>Contact</h2>
<p>
Telephone: {{ service_provider.contact.phone }}<br>
Email: <a href="mailto:{{ service_provider.contact.email }}">{{ service_provider.contact.email }}</a>
</p>
<h2>Editorial Responsibility</h2>
<p>
{{ service_provider.legal.editorial_responsible }}
</p>
<h2>Source Code</h2>
<p>
Code repository available at: <a href="{{ service_provider.legal.source_code }}">{{ service_provider.legal.source_code }}</a>
</p>
<h2>Consumer Dispute Resolution / Universal Arbitration Board</h2>
<p>
Federal Universal Arbitration Board<br>
Center for Arbitration e.V.<br>
Straßburger Straße 8<br>
77694 Kehl am Rhein
</p>
</body>
</html>