From e4a83f3e58b2686cbbcf2079e8bb863e78160812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sat, 14 Aug 2021 02:35:09 +0200 Subject: [PATCH] Begin modal for adding substorages --- shimatta_kenkyusho/parts/views.py | 3 ++ .../templates/parts/stocks-detail.html | 29 ++++++++++++++++--- 2 files changed, 28 insertions(+), 4 deletions(-) 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 %} + +

- + + {% endblock content %} \ No newline at end of file