Merge pull request #26158 from edx/ciduarte/AA-568

AA-568: dates widget styling
This commit is contained in:
Carla Duarte
2021-01-25 11:15:14 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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