fix: tighten calendar card layout

This commit is contained in:
2026-04-13 10:23:58 +02:00
parent 1a889e0ee1
commit bfcf2b6930
2 changed files with 38 additions and 4 deletions

View File

@@ -33,8 +33,16 @@
<div class="calendar-day__tasks">
{% for task in tasks_by_day.get(day, []) %}
<a href="{{ url_for('tasks.edit', task_id=task.id) }}" class="calendar-task calendar-task--{{ task.status }}">
<span>{{ task.title }}</span>
<small>{{ task.points_awarded }} P</small>
<strong class="calendar-task__title">{{ task.title }}</strong>
<small class="calendar-task__person">
{% if task.completed_by_user %}
Erledigt: {{ task.completed_by_user.name }}
{% elif task.assigned_user %}
Zuständig: {{ task.assigned_user.name }}
{% else %}
Ohne Zuweisung
{% endif %}
</small>
</a>
{% endfor %}
</div>
@@ -63,4 +71,3 @@
</section>
{% endif %}
{% endblock %}