Commit 6a4fe01d by Galen Frechette

fixes layout of prerequisites and estimated effort in course about sidebar

parent 9c90592d
......@@ -396,7 +396,7 @@
margin-bottom: 20px;
padding-bottom: 10px;
&.prerequisites {
&.effort {
border: 1px solid rgb(220,220,220);
margin: 0 -10px 0;
padding: 10px;
......
......@@ -89,14 +89,14 @@
<li><div class="icon end"></div><p>Classes End</p><span class="final-date">${get_course_about_section(course, "end_date")}</span></li>
% endif
% if get_course_about_section(course, "effort"):
<li><div class="icon effort"></div><p>Estimated Effort</p><span class="start-date">${get_course_about_section(course, "effort")}</span></li>
% endif
##<li><div class="icon length"></div><p>Course Length</p><span class="course-length">15 weeks</span></li>
% if get_course_about_section(course, "prerequisites"):
<li class="prerequisites"><div class="icon prereq"></div><p>Prerequisites</p><span class="start-date">${get_course_about_section(course, "prerequisites")}</span></li>
<li><div class="icon prereq"></div><p>Prerequisites</p><span class="start-date">${get_course_about_section(course, "prerequisites")}</span></li>
% endif
% if get_course_about_section(course, "effort"):
<li class="effort"><div class="icon effort"></div><p>Estimated Effort</p><span class="start-date">${get_course_about_section(course, "effort")}</span></li>
% endif
</ol>
</section>
......
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