From f524bafd697e4ce5a12dd42651672f11577dbb5c Mon Sep 17 00:00:00 2001 From: Zambom Date: Sat, 14 Oct 2017 17:20:30 -0300 Subject: [PATCH] Adjusting subject card period dates --- amadeus/static/css/base/amadeus_responsive.css | 4 ++++ subjects/templates/subjects/subject_card.html | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/amadeus/static/css/base/amadeus_responsive.css b/amadeus/static/css/base/amadeus_responsive.css index 9a31738..4225c35 100755 --- a/amadeus/static/css/base/amadeus_responsive.css +++ b/amadeus/static/css/base/amadeus_responsive.css @@ -102,6 +102,10 @@ } /* End Buttons */ + .subject-period { + font-size: 12px; + } + .navbar .project_name{ display: block !important; } diff --git a/subjects/templates/subjects/subject_card.html b/subjects/templates/subjects/subject_card.html index 4282166..a385d34 100644 --- a/subjects/templates/subjects/subject_card.html +++ b/subjects/templates/subjects/subject_card.html @@ -58,7 +58,7 @@
-
+
{% if subject.professor.all|length > 0 %}

{% trans "Professor(s) " %}: {{ subject.professor.all|join:', ' }} @@ -67,11 +67,11 @@

{% trans "It doesn't possess professors" %}

{% endif %}
-
-

{% trans "Beginning" %}: {{subject.init_date}}

+
+

{% trans "Beginning" %}: {{ subject.init_date|date:"SHORT_DATE_FORMAT" }}

-
-

{% trans "End" %}: {{subject.end_date}}

+
+

{% trans "End" %}: {{ subject.end_date|date:"SHORT_DATE_FORMAT" }}

-- libgit2 0.21.2