diff --git a/templates/base.html b/templates/base.html index bf29184..917f395 100644 --- a/templates/base.html +++ b/templates/base.html @@ -110,7 +110,7 @@ diff --git a/yeast/templates/yeast/batch.html b/yeast/templates/yeast/batch.html index 39842c5..e056bdf 100644 --- a/yeast/templates/yeast/batch.html +++ b/yeast/templates/yeast/batch.html @@ -9,7 +9,11 @@

{{ batch.strain.name }}

- Source: {{ batch.get_source_display }} + Source: {{ batch.get_source_display }} + {% if batch.source_batch %} + from #{{ batch.beer_num }}: {{ batch.beer_name }} + {% endif %} +

@@ -40,7 +44,7 @@
- Print Labels for this Batch + Print Selected Labels for this Batch

diff --git a/yeast/templates/yeast/sample.html b/yeast/templates/yeast/sample.html index dc6cf07..babf62c 100644 --- a/yeast/templates/yeast/sample.html +++ b/yeast/templates/yeast/sample.html @@ -3,27 +3,32 @@ {% block title %}Yeast Samples{% endblock %} {% block jumbotron %}Yeast Sample:{% endblock %} -{% block jumbotronsub %}{{ sample.id }}{% endblock %} +{% block jumbotronsub %}{{ sample.id }}{% endblock %} {% block content %}

{{ batch.strain.name }}

- Batch Source: {{ batch.get_source_display }}
- Production Date: {{ sample.batch.production_date }}
- Admin Page + Batch Source: {{ batch.get_source_display }} + {% if batch.source_batch %} + from #{{ batch.beer_num }}: {{ batch.beer_name }} + {% endif %}
+ Production Date: {{ sample.batch.production_date }}
+

- {% for sample in batch.remaining_samples %} -

+ {% endif %}
{% endblock %}