From f2d885cd92c02b1ac476e0e86c88f741d86ad2f5 Mon Sep 17 00:00:00 2001 From: Felipe Henrique de Almeida Bormann Date: Wed, 28 Dec 2016 14:07:57 -0300 Subject: [PATCH] fixed breadcrumbs past links and category card is now updated and listing coordinators horizontally --- amadeus/static/css/base/amadeus.css | 9 +++++++++ categories/templates/categories/category_card.html | 2 +- categories/templates/categories/list.html | 18 ++++++++++++++++-- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/amadeus/static/css/base/amadeus.css b/amadeus/static/css/base/amadeus.css index 5911595..a6f287d 100755 --- a/amadeus/static/css/base/amadeus.css +++ b/amadeus/static/css/base/amadeus.css @@ -49,6 +49,10 @@ font-size: 15px; } +.category-panel-content{ + padding:10px; +} + /* category app ends */ .clearfix{ @@ -103,8 +107,13 @@ margin: 10% 10% 5% 5%; } .breadcrumb{ + font-size: 16px; margin-bottom: 25px; } + +.breadcrumb > li > a{ + color: #26A69A; +} .courseHome{ text-align: center; } diff --git a/categories/templates/categories/category_card.html b/categories/templates/categories/category_card.html index a372ed0..a70c0bc 100644 --- a/categories/templates/categories/category_card.html +++ b/categories/templates/categories/category_card.html @@ -1,5 +1,5 @@ {% load static i18n permission_tags %} -
+
diff --git a/categories/templates/categories/list.html b/categories/templates/categories/list.html index 8465815..61cf3d1 100755 --- a/categories/templates/categories/list.html +++ b/categories/templates/categories/list.html @@ -80,15 +80,29 @@
+ + + {% if user.is_staff %} +
+

{% trans "Coordinator(s): " %} + {% for coordinator in category.coordinators.all %} + {{coordinator.username}} + {% endfor %} +

+

{{category.description}}

+
+ {% endif %} {% comment %} - +
+ {% for subject in subjects %} {% include "categories/category_card.html" %} {% endfor %}
- {% endcomment %} + {% endcomment %} +
{% endfor %} -- libgit2 0.21.2