@@ -131,9 +131,7 @@ from util.course import get_link_for_about_page, get_encoded_course_sharing_utm_
% if is_unfulfilled_entitlement:
<spanclass="info-date-block"aria-live="polite">
<spanclass="icon fa fa-warning"aria-hidden="true"></span>
% if entitlement_expired_at:
${_('You can no longer select a session, your final day to select a session was {entitlement_expired_at}.').format(entitlement_expired_at=entitlement_expired_at)}
% else:
% if not entitlement_expired_at:
% if entitlement_expiration_date:
${_('You must select a session by {expiration_date} to access the course.').format(expiration_date=entitlement_expiration_date)}
% else:
...
...
@@ -156,7 +154,7 @@ from util.course import get_link_for_about_page, get_encoded_course_sharing_utm_
</span>
% if entitlement and not is_unfulfilled_entitlement and entitlement_expiration_date:
<divclass="info-expires-at">
<spanclass="msg-icon fa fa-info"aria-hidden="true"></span>
<spanclass="msg-icon fa fa-warning"aria-hidden="true"></span>
<% if (user_entitlement && user_entitlement.expiration_date) { %>
<div class="info-expires-at">
<% if (is_unfulfilled_entitlement) { %>
<% if (user_entitlement.expired_at) { %>
<%- StringUtils.interpolate(gettext('You can no longer select a session. Your final day to select a session was {expiration_date}.'), {expiration_date: user_entitlement.expiration_date}) %>
<% } else { %>
<% if (!user_entitlement.expired_at) { %>
<%- StringUtils.interpolate(gettext('You must select a session by {expiration_date} to access the course.'), {expiration_date: user_entitlement.expiration_date}) %>