feat: add agreement workflow and project-scoped work items

This commit is contained in:
Александр Арсентьев
2026-09-25 20:33:07 +03:00
parent d0b5745f8f
commit e72ba68cad
20 changed files with 1155 additions and 68 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
<div class="list-group shadow-sm">
{% for report in reports %}
<a href="/projects/{{ project.id }}/daily-reports/{{ report.id }}" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
<span><strong>{{ report.report_date.strftime('%d.%m.%Y') }}</strong> — {{ report.system.name }}{% if report.notes %}<br><small class="text-muted">{{ report.notes }}</small>{% endif %}</span>
<span><strong>{{ report.report_date.strftime('%d.%m.%Y') }}</strong> — {{ report.system.name if report.system else '&#1055;&#1088;&#1086;&#1077;&#1082;&#1090;&#1085;&#1099;&#1077; &#1087;&#1086;&#1079;&#1080;&#1094;&#1080;&#1080; &#1073;&#1077;&#1079; &#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1099;' }}{% if report.notes %}<br><small class="text-muted">{{ report.notes }}</small>{% endif %}</span>
<span class="badge text-bg-primary rounded-pill">{{ report.items|length }} поз.</span>
</a>
{% endfor %}