diff --git a/amadeus/static/css/base/amadeus.css b/amadeus/static/css/base/amadeus.css index d5db24a..cc15a02 100755 --- a/amadeus/static/css/base/amadeus.css +++ b/amadeus/static/css/base/amadeus.css @@ -66,7 +66,7 @@ /* category app starts */ .panel-invisible{ - background-color: #BDBDBD; + background-color: #4c4c4c !important; } .category-panel > .panel-heading { diff --git a/categories/templates/categories/list.html b/categories/templates/categories/list.html index 2b0d8d7..bc00301 100755 --- a/categories/templates/categories/list.html +++ b/categories/templates/categories/list.html @@ -96,8 +96,8 @@ {% elif request.user in category.coordinators.all or request.user.is_staff %} -
-
+
+

diff --git a/subjects/templates/subjects/list.html b/subjects/templates/subjects/list.html index 5b81a91..c87dbcc 100644 --- a/subjects/templates/subjects/list.html +++ b/subjects/templates/subjects/list.html @@ -98,8 +98,8 @@

{% elif request.user in category.coordinators.all %} -
-
+
+

diff --git a/subjects/views.py b/subjects/views.py index e0ed525..c1919e4 100644 --- a/subjects/views.py +++ b/subjects/views.py @@ -73,7 +73,7 @@ class IndexView(LoginRequiredMixin, ListView): if not self.request.user.is_staff: if not self.kwargs.get('option'): - categories = Category.objects.filter(visible=True) + categories = Category.objects.all() for category in categories: category.subjects = Subject.objects.filter(category= category) -- libgit2 0.21.2