128 lines
5.5 KiB
YAML
128 lines
5.5 KiB
YAML
# Copyright (c) 2026, Kreisjagdverband Bautzen e.V. This file is part of
|
|
# hitobito_kjv and licensed under the Affero General Public License version 3
|
|
# or later. See the COPYING file at the top-level directory.
|
|
|
|
# Überschreibt die Einstellungen aus hitobito (Core) und hitobito_generic.
|
|
#
|
|
# Achtung: Listen (Arrays) werden mit den vorher geladenen Einstellungen zusammengeführt,
|
|
# nicht ersetzt. Einträge mit dem Präfix "--" entfernen einen bestehenden Eintrag.
|
|
# Sprachen (application.languages) und Footer-Links (application.footer.links) werden in
|
|
# lib/hitobito_kjv/wagon.rb gesetzt, weil sich Einträge aus hitobito_generic hier nicht
|
|
# entfernen lassen.
|
|
#
|
|
# root_email wird hier bewusst NICHT gesetzt, sie kommt aus RAILS_ROOT_USER_EMAIL.
|
|
|
|
<% mail_domain = ENV['RAILS_MAIL_DOMAIN'].presence ||
|
|
ENV['RAILS_HOST_NAME'].presence ||
|
|
'localhost' %>
|
|
|
|
application:
|
|
name: KJV Bautzen
|
|
logo:
|
|
image: kjv_logo.png
|
|
height: 72
|
|
width: 72
|
|
# Deutsche Texte aus den *.de_DE.yml-Dateien verwenden ("ß" statt "ss").
|
|
# Wird beim Image-Build über `rails locales:patch_de` angewendet.
|
|
german_variant: de_DE
|
|
|
|
currency:
|
|
unit: EUR
|
|
|
|
email:
|
|
sender: <%= "KJV Bautzen <noreply@#{mail_domain}>" %>
|
|
mass_recipient: <%= "KJV Bautzen <noreply@#{mail_domain}>" %>
|
|
|
|
phone_number:
|
|
default_country: DE
|
|
|
|
countries:
|
|
prioritized:
|
|
- "--CH"
|
|
- "--LI"
|
|
- "--AT"
|
|
- "--DE"
|
|
- "--FR"
|
|
- "--IT"
|
|
- DE
|
|
- AT
|
|
- CH
|
|
|
|
messages:
|
|
# Briefe und Serienbriefe
|
|
enable_writing: true
|
|
|
|
# Schweizer Post-Adressimport bleibt aus: er läuft nur mit ADDRESSES_TOKEN,
|
|
# das auf dem Server nicht gesetzt ist.
|
|
|
|
# Mitgliedsausweis (Wagon hitobito_verifiable_pass). Vorgaben dort in
|
|
# config/verifiable_pass_defaults.yml; hier nur die KJV-Werte.
|
|
verifiable_pass:
|
|
# Bestehende Pass-Vorlage in der Datenbank behält ihren Schlüssel
|
|
template_key: kjv_membership
|
|
# Öffentliche Prüfseite: https://kjv.hofi.cc/ausweis/<token>
|
|
verify_path: ausweis
|
|
organization_name: Kreisjagdverband Bautzen e.V.
|
|
logo: kjv_logo.png
|
|
member_number_attribute: ljv_membership_number
|
|
member_number_label: Mitgliedsnr. LJV
|
|
|
|
setup:
|
|
name: Mitgliedsausweis
|
|
background_color: "#365902"
|
|
logo_icon: kjv_logo.png
|
|
logo_banner: kjv_banner.jpg
|
|
# Alle Mitgliedsarten in "Mitglieder" und in den Hegeringen
|
|
eligible_role_types:
|
|
- Role::Verbandsmitglied
|
|
- Role::FoerderndesMitglied
|
|
- Role::Ehrenmitglied
|
|
|
|
print:
|
|
layout: kjv_herlitz
|
|
filename: mitgliedsausweise
|
|
layouts:
|
|
# Vorlage "MASTER_Mitgliedsausweis_KJV_schlicht_Herlitz_502041-7": Duplex, 4 Karten
|
|
# (85 x 55 mm) je A4-Bogen, Rückseiten für Druck über die lange Kante gespiegelt.
|
|
# Maße in mm, Positionen ab linker oberer Kartenecke. Logo für den Druck:
|
|
# kjv_logo_print.png (hoch aufgelöst, zum Austauschen Datei ersetzen).
|
|
kjv_herlitz:
|
|
page_size: A4
|
|
font: LiberationSans
|
|
columns: 2
|
|
rows: 2
|
|
origin_x: 20
|
|
origin_y: 11
|
|
card_width: 85
|
|
card_height: 55
|
|
gap_x: 0
|
|
gap_y: 0
|
|
crop_marks: false
|
|
duplex_mirror_columns: true
|
|
text_color: "0C3119"
|
|
sides:
|
|
front:
|
|
elements:
|
|
background: { type: background, color: "EDF2E3" }
|
|
frame: { type: frame, inset: 2.5, radius: 4, width: 1.6, color: "0F3C1E" }
|
|
logo: { type: image, file: kjv_logo_print.png, x: 5, y: 5, size: 20 }
|
|
club_name: { type: text, text: Kreisjagdverband, x: 29, y: 9.34, font_size: 15, style: bold }
|
|
club_city: { type: text, text: BAUTZEN e.V., x: 29, y: 17.47, font_size: 12, style: bold }
|
|
line: { type: line, x: 12, y: 35, width: 61, line_width: 0.8, color: "0F3C1E" }
|
|
title: { type: text, text: MITGLIEDSAUSWEIS, x: 0, y: 36.96, width: 85, align: center, font_size: 16, style: bold }
|
|
back:
|
|
elements:
|
|
background: { type: background, color: "FAF8EB" }
|
|
frame: { type: frame, inset: 2.5, radius: 4, width: 1.4, color: "0F3C1E" }
|
|
logo: { type: image, file: kjv_logo_print.png, x: 5, y: 4, size: 14 }
|
|
header: { type: text, text: Kreisjagdverband BAUTZEN e.V., x: 23, y: 6.85, font_size: 11, style: bold }
|
|
name_label: { type: text, text: "Name:", x: 7, y: 19.78, width: 22, font_size: 8.5, color: "000000" }
|
|
name: { type: text, value: list_name, x: 29, y: 19.6, width: 28, font_size: 9, style: bold, color: "000000" }
|
|
birth_label: { type: text, text: "Geburtsdatum:", x: 7, y: 26.78, width: 22, font_size: 8.5, color: "000000" }
|
|
birthday: { type: text, attribute: birthday, x: 29, y: 26.6, width: 28, font_size: 9, color: "000000" }
|
|
joined_label: { type: text, text: "Eintritt:", x: 7, y: 33.78, width: 22, font_size: 8.5, color: "000000" }
|
|
joined_on: { type: text, attribute: joined_on, x: 29, y: 33.6, width: 28, font_size: 9, color: "000000" }
|
|
number_label: { type: text, text: "Mitglieds-Nr.:", x: 7, y: 40.78, width: 22, font_size: 8.5, color: "000000" }
|
|
number: { type: text, value: member_number, x: 29, y: 39.34, width: 28, font_size: 15, style: bold, color: "000000" }
|
|
qr: { type: qr, x: 59.5, y: 16, size: 20 }
|
|
issued: { type: text, value: issued_year, format: "Ausgestellt %{value}\nPrüfung per QR-Code", x: 57, y: 37.5, width: 25, lines: 2, align: center, font_size: 5.5 }
|