Fix program listing and detail page styling

This commit is contained in:
Renzo Lucioni
2016-08-03 16:41:18 -04:00
parent e641c0dcee
commit 765792c623
8 changed files with 12 additions and 13 deletions

View File

@@ -7,6 +7,6 @@
<a href="<%- certificate_url %>" class="btn-brand cta-secondary">
<% // safe-lint: disable=underscore-not-escaped %>
<span class="certificate-icon blue-certificate-icon" aria-hidden="true"><%= certificateSvg %></span>
<%- gettext('View/Share Certificate') %>
<%- gettext('View Certificate') %>
</a>
</div>

View File

@@ -1,7 +1,7 @@
<% if (is_enrolled) { %>
<div class="enrollment-info"><%- gettext('enrolled') %></div>
<% if (is_enrollment_open || is_course_ended) { %>
<a href="<%- course_url %>" class="btn-neutral btn view-course-link">
<a href="<%- course_url %>" class="btn view-course-link">
<% if (is_enrollment_open) { %>
<%- gettext('View Course') %>
<% } else if (is_course_ended) { %>

View File

@@ -1,6 +1,6 @@
<section class="empty-programs-message">
<h2 class="hd-3"><%- gettext('You are not enrolled in any programs yet.') %></h2>
<a class="btn-neutral" href="<%- marketingUrl %>">
<a class="btn-brand" href="<%- marketingUrl %>">
<span class="icon fa fa-search" aria-hidden="true"></span>
<span><%- gettext('Explore Programs') %></span>
</a>

View File

@@ -2,7 +2,7 @@
<%- gettext('Browse recently launched courses and see what\'s new in your favorite subjects') %>
</div>
<div class="ad-link">
<a href="<%- marketingUrl %>" class="btn-neutral">
<a href="<%- marketingUrl %>" class="btn new-programs-btn">
<span class="icon fa fa-search" aria-hidden="true"></span>
<span><%- gettext('Explore New Programs') %></span>
</a>