From d31d53ca9bde858c6ba72bd0972dd0b266946bb2 Mon Sep 17 00:00:00 2001 From: Chris Giacofei Date: Mon, 17 Jun 2024 10:25:53 -0400 Subject: [PATCH] Add clarifying text to pages. Fixes #10 --- yeast/templates/yeast/batch.html | 2 +- yeast/templates/yeast/home.html | 7 ++++--- yeast/templates/yeast/sample.html | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/yeast/templates/yeast/batch.html b/yeast/templates/yeast/batch.html index 36cdb2b..4fd3d82 100644 --- a/yeast/templates/yeast/batch.html +++ b/yeast/templates/yeast/batch.html @@ -8,7 +8,7 @@ {% block content %}
-

{{ batch.strain.name }}

+

{{ batch.strain.manufacturer }}, {{ batch.strain.name }}

Source: {{ batch.get_source_display }} {% if batch.source_batch %} from #{{ batch.beer_num }}: {{ batch.beer_name }} diff --git a/yeast/templates/yeast/home.html b/yeast/templates/yeast/home.html index 3eecfa3..cff75d5 100644 --- a/yeast/templates/yeast/home.html +++ b/yeast/templates/yeast/home.html @@ -25,7 +25,7 @@ input, label {
- {% for batch in batches %} + {% for batch in batches|dictsort:"production_date"|dictsort:"strain.name" %} {% if not batch.consumed %} - + {% endif %} {% endfor %} @@ -50,6 +50,7 @@ input, label { {% for batch in batches %} {% if not batch.consumed %}