From 2a2bc9e3159153cb8dd5f3d372723f06c934c5f4 Mon Sep 17 00:00:00 2001 From: Bridger Maxwell Date: Sat, 4 Feb 2012 12:45:46 -0500 Subject: [PATCH] Showing due dates and section types on profile page. --- accordion.html | 4 ---- profile.html | 16 ++++++++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/accordion.html b/accordion.html index bf3332d788..a94f738d29 100644 --- a/accordion.html +++ b/accordion.html @@ -19,10 +19,6 @@

${section['format']} - % if 'time' in section and section['time']!="": - (${int(section['time'])/60} min) - % endif - % if 'due' in section and section['due']!="": due ${section['due']} % endif diff --git a/profile.html b/profile.html index cd933d1836..4fde6c4f42 100644 --- a/profile.html +++ b/profile.html @@ -113,14 +113,22 @@ $(function() { percentageString = "{:.0%}".format( float(earned)/total) if earned > 0 else "" %> ${ hw['section'] } ${"({}/{}) {}".format( earned, total, percentageString )} + ${hw['subtitle']} + % if 'due' in hw and hw['due']!="": + due ${hw['due']} + % endif