Commit 1adc4fe2 by frances botsford

Merge pull request #2092 from tusbar/course-bottom-university-span

Use <span> for course preview’s university #os
parents 15cb79bc ac1eed41
......@@ -231,10 +231,6 @@
letter-spacing: 1px;
margin-right: 10px;
padding-right: 10px;
&:hover, &:focus {
color: $link-color;
}
}
.start-date {
......
<%namespace name='static' file='static_content.html'/>
<%namespace file='main.html' import="stanford_theme_enabled"/>
<%!
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
......@@ -26,11 +25,7 @@ from courseware.courses import course_image_url, get_course_about_section
<p>${get_course_about_section(course, 'short_description')}</p>
</div>
<div class="bottom">
% if stanford_theme_enabled():
<span class="university">${get_course_about_section(course, 'university')}</span>
% else:
<a href="#" class="university">${get_course_about_section(course, 'university')}</a>
% endif
<span class="university">${get_course_about_section(course, 'university')}</span>
<span class="start-date">${course.start_date_text}</span>
</div>
</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