feat: Improve tea details

This commit is contained in:
Thomas Schwery 2022-03-06 13:01:42 +01:00
parent 6d085fc75b
commit b02da15fb2

View file

@ -11,13 +11,18 @@
{% if tea.tea_quantity %}
<dt class="col-sm-3">Quantité</dt>
<dd class="col-sm-9">
{{ tea.tea_quantity }} {{ tea.tea_quantity_type }}
{{ tea.tea_quantity }} {{ tea.get_tea_quantity_type_display }}
</dd>
{% endif %}
<dt class="col-sm-3">Temps</dt>
<dd class="col-sm-9">
{{ tea.tea_time_from }}-{{ tea.tea_time_to }} {{ tea.tea_time_type }}
{{ tea.tea_time_from }}-{{ tea.tea_time_to }} {{ tea.get_tea_time_type_display }}
</dd>
<dt class="col-sm-3">Conditionnement</dt>
<dd class="col-sm-9">
{{ tea.get_conditioning_display }}
</dd>
{% if tea.url %}