From 3628f4eaa9d17940bc3b1703f631e4fb5baea31c Mon Sep 17 00:00:00 2001 From: nikita Date: Fri, 8 Jun 2018 00:18:03 +0300 Subject: [PATCH] LIL-512 teacher block styling --- project/templates/blocks/teachers.html | 40 ++++++++++++++++++++++---- project/templates/lilcity/index.html | 2 +- web/src/sass/_common.sass | 6 ++-- 3 files changed, 40 insertions(+), 8 deletions(-) diff --git a/project/templates/blocks/teachers.html b/project/templates/blocks/teachers.html index 91e9b1cd..e88db212 100644 --- a/project/templates/blocks/teachers.html +++ b/project/templates/blocks/teachers.html @@ -17,15 +17,45 @@
{{ teacher.get_full_name }} - {% if teacher.instagram_hashtag %} - , + {% if teacher.instagram_hashtag %}, #{{ teacher.instagram_hashtag }} {% endif %}
- {% if teacher.instagram %} -
{{ teacher.instagram }}
- {% endif %} {% if teacher.about %} + + {% if teacher.about %}
{{ teacher.about }}
diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index 71ce74a4..b1167d28 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -30,7 +30,7 @@ {% comment %} {% endcomment %} - +