Files
2026-06-18 09:20:44 +02:00

29 lines
751 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{#
Datei: templates/mitarbeiter.html
Autor: Björn Runden <br@runden.de>
Datum: 2026-06-17
Zweck: Projektübersicht für Mitarbeiter (nur zugewiesene Projekte).
Variablen: user, projects (list[Project])
#}
{% extends "base.html" %}
{% block title %}Meine Projekte{% endblock %}
{% block content %}
<h1>Mitarbeiter Cockpit</h1>
<p>Deine zugewiesenen Projekte:</p>
<ul class="project-list">
{% for p in projects %}
<li>
<a href="{{ url_for('main.projekt', project_id=p.id) }}">{{ p.name }}</a>
<span class="client-name">– {{ p.client.name }}</span>
</li>
{% else %}
<li>Keine Projekte zugewiesen.</li>
{% endfor %}
</ul>
<p><a href="{{ url_for('main.index') }}">&larr; Zurück</a></p>
{% endblock %}