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
79332ed5
Commit
79332ed5
authored
Apr 22, 2016
by
Simon Chen
Committed by
Clinton Blackburn
May 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECOM-4272 Add the cosmetic changes to the program listing page
parent
85767b3b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
10 deletions
+16
-10
lms/static/js/spec/learner_dashboard/program_card_view_spec.js
+1
-1
lms/static/sass/elements/_program-card.scss
+2
-2
lms/static/sass/shared/_header.scss
+12
-6
lms/templates/learner_dashboard/program_card.underscore
+1
-1
No files found.
lms/static/js/spec/learner_dashboard/program_card_view_spec.js
View file @
79332ed5
...
...
@@ -56,7 +56,7 @@ define([
expect
(
$cards
).
toBeDefined
();
expect
(
$cards
.
find
(
'.title'
).
html
().
trim
()).
toEqual
(
program
.
name
);
expect
(
$cards
.
find
(
'.category span'
).
html
().
trim
()).
toEqual
(
'XSeries Program'
);
expect
(
$cards
.
find
(
'.organization'
).
html
().
trim
()).
toEqual
(
program
.
organizations
[
0
].
display_name
);
expect
(
$cards
.
find
(
'.organization'
).
html
().
trim
()).
toEqual
(
program
.
organizations
[
0
].
key
);
expect
(
$cards
.
find
(
'.card-link'
).
attr
(
'href'
)).
toEqual
(
program
.
marketing_url
);
});
...
...
lms/static/sass/elements/_program-card.scss
View file @
79332ed5
...
...
@@ -19,7 +19,7 @@
left
:
0
;
border
:
0
;
z-index
:
1
;
opacity
:
0
.
5
;
opacity
:
0
.
8
;
&
:hover
,
&
:focus
{
opacity
:
1
;
...
...
@@ -69,7 +69,7 @@
}
.title
{
font-size
:
em
(
24
);
color
:
$gray-
l1
;
color
:
$gray-
d2
;
margin-bottom
:
10px
;
line-height
:
1
.2
;
}
...
...
lms/static/sass/shared/_header.scss
View file @
79332ed5
...
...
@@ -263,13 +263,16 @@ header.global {
list-style
:
none
;
@include
float
(
left
);
.tab-nav-item
{
display
:
inline
;
display
:
flex
;
margin
:
0px
;
text-transform
:
none
;
@include
float
(
left
);
justify-content
:
center
;
.tab-nav-link
{
font-size
:
em
(
16
);
color
:
$gray
;
padding
:
26px
15
px
;
display
:
inline
;
padding
:
5px
25px
23
px
;
display
:
inline
-block
;
&
:hover
,
&
:focus
{
border-bottom
:
4px
solid
$courseware-border-bottom-color
;
...
...
@@ -393,13 +396,16 @@ header.global-new {
.nav-global
{
@include
float
(
left
);
.tab-nav-item
{
display
:
inline
;
display
:
flex
;
margin
:
0px
;
text-transform
:
none
;
@include
float
(
left
);
justify-content
:
center
;
.tab-nav-link
{
font-size
:
em
(
16
);
color
:
$gray
;
display
:
inline
;
padding
:
25px
15
px
;
display
:
inline
-block
;
padding
:
5px
25px
19
px
;
&
:hover
,
&
:focus
{
border-bottom
:
4px
solid
$courseware-border-bottom-color
;
...
...
lms/templates/learner_dashboard/program_card.underscore
View file @
79332ed5
...
...
@@ -14,7 +14,7 @@
<div class="meta-info">
<div class="organization">
<% _.each(organizations, function(org){ %>
<%- gettext(org.
display_name
) %>
<%- gettext(org.
key
) %>
<% }); %>
</div>
<div class="category">
...
...
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