From b3fb9eed9ca42f339eca9c6ac8dc6702e57f440a Mon Sep 17 00:00:00 2001 From: fbormann Date: Mon, 24 Oct 2016 11:29:34 -0300 Subject: [PATCH] added image support #207 --- app/templates/home_teacher_student_content.html | 2 +- core/static/css/base/amadeus.css | 4 ++++ core/templates/notifications.html | 13 +++++++++---- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/app/templates/home_teacher_student_content.html b/app/templates/home_teacher_student_content.html index 3652822..f3b0289 100644 --- a/app/templates/home_teacher_student_content.html +++ b/app/templates/home_teacher_student_content.html @@ -7,7 +7,7 @@
- +

{{ notification.actor.username }}

diff --git a/core/static/css/base/amadeus.css b/core/static/css/base/amadeus.css index fa6fd9d..af7fcc4 100644 --- a/core/static/css/base/amadeus.css +++ b/core/static/css/base/amadeus.css @@ -15,6 +15,10 @@ width: 300px; } +.user-notification-img{ + width:40%; +} + /* HEADER */ diff --git a/core/templates/notifications.html b/core/templates/notifications.html index b70502e..1dea4c8 100644 --- a/core/templates/notifications.html +++ b/core/templates/notifications.html @@ -5,8 +5,13 @@