diff --git a/shimatta_kenkyusho/parts/views.py b/shimatta_kenkyusho/parts/views.py index 8531d82..ded7acc 100644 --- a/shimatta_kenkyusho/parts/views.py +++ b/shimatta_kenkyusho/parts/views.py @@ -149,3 +149,6 @@ class StockViewDetail(LoginRequiredMixin, BaseTemplateMixin, DetailView): context['storages'] = storage_paginator.get_page(storage_page) return context + + def post(self): + pass \ No newline at end of file diff --git a/shimatta_kenkyusho/templates/parts/stocks-detail.html b/shimatta_kenkyusho/templates/parts/stocks-detail.html index 3c32f97..7e93842 100644 --- a/shimatta_kenkyusho/templates/parts/stocks-detail.html +++ b/shimatta_kenkyusho/templates/parts/stocks-detail.html @@ -18,10 +18,11 @@
{% if object.parent_storage %} -

Sub-Storages Parent Storage

- {% else %} -

Sub-Storages Stock Overview

+

Sub-Storages Parent Storage {% else %} +

Sub-Storages Stock Overview {% endif %} + +

{% for storage in storages %} @@ -38,6 +39,26 @@ {% include 'paginator.html' with paginator=storages get_param='storage_page' aria_label='Storage Page Navigation' %}
- + + {% endblock content %} \ No newline at end of file