Commit 845e86b8 by cahrens

Format timestamp.

parent b1ee96b3
......@@ -11,7 +11,7 @@
<li class="${'active' if 'active' in section and section['active'] else ''} ${'graded' if 'graded' in section and section['graded'] else ''}">
<a href="${reverse('courseware_section', args=[course_id, chapter['url_name'], section['url_name']])}">
<p>${section['display_name']}</p>
<p class="subtitle">${section['format']} ${"due " + get_default_time_display(section['due']) if 'due' in section else ''}</p>
<p class="subtitle">${section['format']} ${"due " + get_default_time_display(section['due']) if section['due'] else ''}</p>
</a>
</li>
% endfor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment