Merge pull request #26158 from edx/ciduarte/AA-568
AA-568: dates widget styling
This commit is contained in:
@@ -429,7 +429,7 @@ class CourseAssignmentDate(DateSummary):
|
||||
""" Used to set the title_html and title properties for the assignment date block """
|
||||
if link:
|
||||
self.assignment_title_html = HTML(
|
||||
'<a href="{assignment_link}" class="btn btn-outline-primary">{assignment_title}</a>'
|
||||
'<a href="{assignment_link}">{assignment_title}</a>'
|
||||
).format(assignment_link=link, assignment_title=title)
|
||||
self.assignment_title = title
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ from django.utils.translation import ugettext as _
|
||||
% endfor
|
||||
% if dates_tab_enabled:
|
||||
<div class="dates-tab-link">
|
||||
<a class="btn btn-outline-primary" href="${dates_tab_link}">View all course dates</a>
|
||||
<a href="${dates_tab_link}">View all course dates</a>
|
||||
</div>
|
||||
% endif
|
||||
% endif
|
||||
|
||||
Reference in New Issue
Block a user