From 57e5fc8d22e82688f474a04371272a54f64092d0 Mon Sep 17 00:00:00 2001
From: juliotoscano
Date: Tue, 8 Nov 2016 10:17:28 -0300
Subject: [PATCH] added dates init and end #229
---
core/static/css/base/amadeus.css | 2 +-
courses/templates/course/course_card.html | 8 ++++++++
courses/templates/course/view.html | 9 ++++++++-
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/core/static/css/base/amadeus.css b/core/static/css/base/amadeus.css
index 0031aef..e2de1ed 100644
--- a/core/static/css/base/amadeus.css
+++ b/core/static/css/base/amadeus.css
@@ -427,7 +427,7 @@ ul, li {
.course-card-group{
margin-bottom: 1%;
}
-
+.data_register_course p{ color: grey; }
.category-course-link{
font-size: 24px;
color: black !important;
diff --git a/courses/templates/course/course_card.html b/courses/templates/course/course_card.html
index 089aa71..c017ffc 100644
--- a/courses/templates/course/course_card.html
+++ b/courses/templates/course/course_card.html
@@ -42,6 +42,14 @@
{{course.content | safe }}
+
+
+
{% trans 'Init register' %}: {{course.init_register_date}}
+
+
+
{% trans 'End register' %}: {{course.end_register_date}}
+
+
diff --git a/courses/templates/course/view.html b/courses/templates/course/view.html
index c914456..6cf0946 100644
--- a/courses/templates/course/view.html
+++ b/courses/templates/course/view.html
@@ -102,7 +102,14 @@
{{ course.objectivies |safe }}
-
+
+
+
{% trans 'Begin of Course Date' %}: {{course.init_date}}
+
+
+
{% trans 'End of Course Date' %}: {{course.end_date}}
+
+
--
libgit2 0.21.2