Update terminology from "Schülerausweise" to "Bibliotheksausweis" across admin and print templates for consistency
This commit is contained in:
+2
-2
@@ -2282,7 +2282,7 @@ def library_admin():
|
|||||||
@app.route('/student_cards_admin', methods=['GET', 'POST'])
|
@app.route('/student_cards_admin', methods=['GET', 'POST'])
|
||||||
def student_cards_admin():
|
def student_cards_admin():
|
||||||
"""
|
"""
|
||||||
Admin page for managing student library cards (Schülerausweise).
|
Admin page for managing student library cards (Bibliotheksausweis).
|
||||||
Only accessible by admins and only when the student cards module is enabled.
|
Only accessible by admins and only when the student cards module is enabled.
|
||||||
"""
|
"""
|
||||||
if 'username' not in session:
|
if 'username' not in session:
|
||||||
@@ -2410,7 +2410,7 @@ def student_cards_admin():
|
|||||||
@app.route('/student_cards_print', methods=['GET'])
|
@app.route('/student_cards_print', methods=['GET'])
|
||||||
def student_cards_print():
|
def student_cards_print():
|
||||||
"""
|
"""
|
||||||
Generate a printable template for all student library cards (Schülerausweise).
|
Generate a printable template for all student library cards (Bibliotheksausweis).
|
||||||
Only accessible by admins and only when the student cards module is enabled.
|
Only accessible by admins and only when the student cards module is enabled.
|
||||||
"""
|
"""
|
||||||
if 'username' not in session:
|
if 'username' not in session:
|
||||||
|
|||||||
@@ -483,7 +483,7 @@
|
|||||||
<li><h6 class="dropdown-header">Bibliotheks-Verwaltung</h6></li>
|
<li><h6 class="dropdown-header">Bibliotheks-Verwaltung</h6></li>
|
||||||
<li><a class="dropdown-item" href="{{ url_for('library_loans_admin') }}">Ausleihen</a></li>
|
<li><a class="dropdown-item" href="{{ url_for('library_loans_admin') }}">Ausleihen</a></li>
|
||||||
{% if student_cards_module_enabled %}
|
{% if student_cards_module_enabled %}
|
||||||
<li><a class="dropdown-item" href="{{ url_for('student_cards_admin') }}">Schülerausweise</a></li>
|
<li><a class="dropdown-item" href="{{ url_for('student_cards_admin') }}">Bibliotheksausweis</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><hr class="dropdown-divider"></li>
|
<li><hr class="dropdown-divider"></li>
|
||||||
<li><h6 class="dropdown-header">System</h6></li>
|
<li><h6 class="dropdown-header">System</h6></li>
|
||||||
|
|||||||
@@ -124,12 +124,12 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="icon">📇</div>
|
<div class="icon">📇</div>
|
||||||
<h1>Schülerausweis-Download</h1>
|
<h1>Schülerausweis-Download</h1>
|
||||||
<p>Generieren Sie eine PDF mit Barcodes aller Schülerausweise zum direkten Drucken</p>
|
<p>Generieren Sie eine PDF mit Barcodes aller Bibliotheksausweise zum direkten Drucken</p>
|
||||||
|
|
||||||
<div class="info-box">
|
<div class="info-box">
|
||||||
<strong>📌 Was wird heruntergeladen?</strong>
|
<strong>📌 Was wird heruntergeladen?</strong>
|
||||||
<p>Eine druckfertige PDF mit:</p>
|
<p>Eine druckfertige PDF mit:</p>
|
||||||
<p>✓ Alle Schülerausweise</p>
|
<p>✓ Alle Bibliotheksausweise</p>
|
||||||
<p>✓ Scanbare CODE128 Barcodes</p>
|
<p>✓ Scanbare CODE128 Barcodes</p>
|
||||||
<p>✓ Optimiert für A4-Druck (2 Karten pro Seite)</p>
|
<p>✓ Optimiert für A4-Druck (2 Karten pro Seite)</p>
|
||||||
<p>✓ Professionelle Qualität</p>
|
<p>✓ Professionelle Qualität</p>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
-->
|
-->
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block title %}Schülerausweise - Inventarsystem{% endblock %}
|
{% block title %}Bibliotheksausweise - Inventarsystem{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<style>
|
<style>
|
||||||
@@ -229,7 +229,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="student-card-header">
|
<div class="student-card-header">
|
||||||
<div>
|
<div>
|
||||||
<h1>📚 Schülerausweise (Bibliotek)</h1>
|
<h1>📚 Bibliotheksausweise (Bibliotek)</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="export-buttons">
|
<div class="export-buttons">
|
||||||
<a href="{{ url_for('student_card_barcode_download') }}" class="btn-print" style="background: #28a745;">📥 Alle Ausweise (PDF)</a>
|
<a href="{{ url_for('student_card_barcode_download') }}" class="btn-print" style="background: #28a745;">📥 Alle Ausweise (PDF)</a>
|
||||||
@@ -342,7 +342,7 @@
|
|||||||
</table>
|
</table>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="empty-state">
|
<div class="empty-state">
|
||||||
<p>Keine Schülerausweise registriert.</p>
|
<p>Keine Bibliotheksausweise registriert.</p>
|
||||||
<p>Fügen Sie ein neues Ausweis oben hinzu.</p>
|
<p>Fügen Sie ein neues Ausweis oben hinzu.</p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user