From 23c531d74da1b8a919be5a8c5da2d1b3d1d7d6e8 Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Tue, 2 Jul 2013 15:19:04 -0400 Subject: [PATCH] fix very-small view of dates on the frontpage for foundation --- karmaworld/templates/courses/course_list.html | 2 +- karmaworld/templates/courses/course_list_entry.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/karmaworld/templates/courses/course_list.html b/karmaworld/templates/courses/course_list.html index a811478..9388f4a 100644 --- a/karmaworld/templates/courses/course_list.html +++ b/karmaworld/templates/courses/course_list.html @@ -75,7 +75,7 @@ $(document).ready(function() { //console.log(source); if (type === 'set') { source.date = val; - source.date_display = val=="" ? "" : "Updated on "+val+""; + source.date_display = val=="" ? "" : "Updated "+val+""; return; } else if (type === 'display') { diff --git a/karmaworld/templates/courses/course_list_entry.html b/karmaworld/templates/courses/course_list_entry.html index d1e7697..5668ebb 100644 --- a/karmaworld/templates/courses/course_list_entry.html +++ b/karmaworld/templates/courses/course_list_entry.html @@ -1,6 +1,6 @@ - {{ course.updated_at|date:"F d, o" }} + {{ course.updated_at|date:"b d, o"|capfirst }} {{ course.file_count }} -- 2.25.1