Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
335b0dc4
Commit
335b0dc4
authored
May 03, 2017
by
Matthew Piatetsky
Committed by
GitHub
May 03, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15031 from edx/revert-15028-minor_tweaks
Revert "Add view course button"
parents
efba5ec8
55268dec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
35 deletions
+1
-35
lms/static/sass/views/_program-details.scss
+0
-26
lms/templates/learner_dashboard/course_enroll_2017.underscore
+1
-9
No files found.
lms/static/sass/views/_program-details.scss
View file @
335b0dc4
...
@@ -303,28 +303,6 @@
...
@@ -303,28 +303,6 @@
}
}
.course-enroll-view
{
.course-enroll-view
{
.view-course-button
{
background
:
palette
(
primary
,
dark
);
border-color
:
palette
(
primary
,
dark
);
height
:
37px
;
padding
:
7px
18
.5px
0
18
.5px
;
width
:
auto
;
border-radius
:
0
;
text-align
:
center
;
font-size
:
0
.9375em
;
margin-top
:
5px
;
/* IE11 CSS styles */
@media
(
min-width
:
$bp-screen-md
)
and
(
-
ms-high-contrast
:
none
)
,
(
-
ms-high-contrast
:
active
)
{
@include
float
(
right
);
}
@media
(
min-width
:
$bp-screen-lg
)
{
margin-top
:
0px
;
}
}
.enroll-button
{
.enroll-button
{
width
:
100%
;
width
:
100%
;
...
@@ -407,10 +385,6 @@
...
@@ -407,10 +385,6 @@
}
}
.section
:not
(
:first-child
)
{
margin-top
:
0
;
}
.course-details
{
.course-details
{
float
:
none
;
float
:
none
;
...
...
lms/templates/learner_dashboard/course_enroll_2017.underscore
View file @
335b0dc4
<% if (is_enrolled && (typeof expired === 'undefined' || expired === false)) { %>
<% if (!is_enrolled) { %>
<a href="<%- course_url %>" class="view-course-button btn-brand btn cta-primary">
<% if (is_course_ended) { %>
<%- gettext('View Archived Course') %>
<% } else { %>
<%- gettext('View Course') %>
<% } %>
</a>
<% } else { %>
<% if (enrollable_course_runs.length > 0) { %>
<% if (enrollable_course_runs.length > 0) { %>
<% if (enrollable_course_runs.length > 1) { %>
<% if (enrollable_course_runs.length > 1) { %>
<div class="run-select-container">
<div class="run-select-container">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment