From 5bd66aeae8ad7aa13d9b939cac6d92ca1bc9f40d Mon Sep 17 00:00:00 2001 From: bronsen Date: Thu, 13 Mar 2025 20:08:54 +0100 Subject: [PATCH] [collector views] prominently display Teil number --- TODO.txt | 2 +- collector/templates/collector/detail.html | 2 +- collector/templates/collector/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO.txt b/TODO.txt index d824963..8f88180 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,6 @@ [x] export data [x] import exported data -[ ] display Teil-number +[x] display Teil-number [ ] export CSV/excel/markdown for printing [x] split requirements into prod, test, dev [ ] improve handling of settings for prod, test, and dev: avoid all those if statements diff --git a/collector/templates/collector/detail.html b/collector/templates/collector/detail.html index 0ef8e41..898dd8f 100644 --- a/collector/templates/collector/detail.html +++ b/collector/templates/collector/detail.html @@ -1,2 +1,2 @@ -

{{ teil.name }}

+

[{{ teil.id }}] {{ teil.name }}

Last Changed: {{ teil.modified }} diff --git a/collector/templates/collector/index.html b/collector/templates/collector/index.html index 4f9c2f9..4611dff 100644 --- a/collector/templates/collector/index.html +++ b/collector/templates/collector/index.html @@ -4,7 +4,7 @@ {% for teil in teile_list %}
  • - {{ teil.name }} + [{{ teil.id }}] {{ teil.name }} ({{ teil.modified }})
  • {% endfor %}