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

Use <span> for course preview’s university #os
This commit is contained in:
frances botsford
2014-01-07 08:24:33 -08:00
2 changed files with 1 additions and 10 deletions

View File

@@ -231,10 +231,6 @@
letter-spacing: 1px;
margin-right: 10px;
padding-right: 10px;
&:hover, &:focus {
color: $link-color;
}
}
.start-date {

View File

@@ -1,5 +1,4 @@
<%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>