diff --git a/shimatta_kenkyusho/templates/parts/components-detail.html b/shimatta_kenkyusho/templates/parts/components-detail.html index c565ac4..70c3bc0 100644 --- a/shimatta_kenkyusho/templates/parts/components-detail.html +++ b/shimatta_kenkyusho/templates/parts/components-detail.html @@ -76,6 +76,11 @@ No description available {% endif %} + + {% if component.dynamic_description %} +

Dynamic Description

+
{{ component.dynamic_description }}
+ {% endif %}
{% if component.pref_distri %} diff --git a/shimatta_kenkyusho/templates/parts/components.html b/shimatta_kenkyusho/templates/parts/components.html index 5c7b97b..f4011ac 100644 --- a/shimatta_kenkyusho/templates/parts/components.html +++ b/shimatta_kenkyusho/templates/parts/components.html @@ -54,7 +54,12 @@ Manufacturer: {{comp.manufacturer}} {% endif %}
- {{comp.get_total_amount}} +
+
{{ comp.dynamic_description }}
+
+
+ {{comp.get_total_amount}} +
{% endfor %} diff --git a/shimatta_kenkyusho/templates/parts/stocks-detail.html b/shimatta_kenkyusho/templates/parts/stocks-detail.html index 89d8efd..8945a24 100644 --- a/shimatta_kenkyusho/templates/parts/stocks-detail.html +++ b/shimatta_kenkyusho/templates/parts/stocks-detail.html @@ -56,8 +56,8 @@ Responsible: {{ storage.responsible }} {{storage.get_total_stock_amount}} - {{storage.get_total_stock_count}} - {{storage.get_total_substorage_amount}} + {{storage.get_total_stock_count}} + {{storage.get_total_substorage_amount}} {% endfor %} @@ -101,13 +101,13 @@
Lot: {{stock.lot}}
{% endif %} -
+
{{ stock.component.dynamic_description }}
{% qr_from_text stock.get_qr_code size="6" image_format="svg" %}
-
+
Amount: {{stock.amount}} {% if stock.watermark >= 0 %}
Watermark: {{stock.watermark}}