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
3561b5c7
Commit
3561b5c7
authored
Jun 16, 2015
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PR feedback and receiept template updates
parent
8f8f1184
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
34 deletions
+38
-34
lms/static/sass/views/_shoppingcart.scss
+19
-18
lms/templates/shoppingcart/receipt.html
+19
-16
No files found.
lms/static/sass/views/_shoppingcart.scss
View file @
3561b5c7
...
...
@@ -309,11 +309,16 @@ $light-border: 1px solid $gray-l5;
color
:
$light-gray2
;
}
.course-display-name
,
.course-display-dates
{
@extend
%t-title4
;
display
:
block
;
color
:
$dark-gray2
;
.course-title-info
{
display
:
inline-block
;
width
:
60%
;
}
.course-meta-info
{
@include
float
(
right
);
@include
text-align
(
right
);
display
:
inline-block
;
width
:
35%
;
}
.course-registration-title
,
...
...
@@ -325,20 +330,15 @@ $light-border: 1px solid $gray-l5;
color
:
$light-gray2
;
}
.course-display-name
,
.course-display-dates
{
@include
clearfix
();
}
.course-title-info
{
display
:
inline-block
;
width
:
60%
;
@extend
%t-title4
;
display
:
block
;
color
:
$dark-gray2
;
}
.course-meta-info
{
@include
float
(
right
);
@include
text-align
(
right
);
display
:
inline-block
;
width
:
35%
;
.course-display-dates
{
@include
clearfix
();
}
h1
{
...
...
@@ -907,6 +907,7 @@ $light-border: 1px solid $gray-l5;
span
{
@include
padding-left
(
$baseline
*
3
);
text-transform
:
capitalize
;
letter-spacing
:
0
;
.blue-link
{
@extend
%t-copy-sub1
;
...
...
@@ -928,7 +929,7 @@ $light-border: 1px solid $gray-l5;
color
:
$dark-gray1
;
h2
{
font-family
:
$sans-serif
;
@extend
%t-title5
;
}
}
...
...
@@ -1033,7 +1034,7 @@ $light-border: 1px solid $gray-l5;
h2
{
@include
text-align
(
center
);
@extend
%t-title
4
;
@extend
%t-title
5
;
@extend
%t-strong
;
margin-top
:
$baseline
;
margin-bottom
:
(
$baseline
/
4
);
...
...
lms/templates/shoppingcart/receipt.html
View file @
3561b5c7
...
...
@@ -280,7 +280,7 @@ from courseware.courses import course_image_url, get_course_about_section, get_c
</div>
</div>
% endif
<hr
class=
"border"
/>
% for item, course in shoppingcart_items:
% if loop.index > 0 :
<hr>
...
...
@@ -292,8 +292,13 @@ from courseware.courses import course_image_url, get_course_about_section, get_c
alt=
"${course.display_number_with_default | h} ${get_course_about_section(course, 'title')} Image"
/>
</div>
<div
class=
"data-input"
>
<h3>
${_("Registration for")}:
<span
class=
"pull-right"
>
<h3
class=
"course-title-info"
id=
"course-title"
>
<span
class=
"course-registration-title"
>
${_('Registration for:')}
</span>
<span
class=
"course-display-name"
>
${ course.display_name }
</span>
</h3>
<p
class=
"course-meta-info"
aria-describedby=
"course-title"
>
<span
class=
"course-dates-title"
>
<
%
course_start_time =
course.start_datetime_text()
course_end_time =
course.end_datetime_text()
...
...
@@ -302,19 +307,17 @@ from courseware.courses import course_image_url, get_course_about_section, get_c
${_("Course Dates")}:
%endif
</span>
</h3>
<h1>
${course.display_name}
</h1>
<span
class=
"pull-right"
>
% if course_start_time:
${course_start_time}
%endif
-
% if course_end_time:
${course_end_time}
%endif
</span>
<hr/>
<span
class=
"course-display-dates"
>
% if course_start_time:
${course_start_time}
%endif
-
% if course_end_time:
${course_end_time}
%endif
</span>
</p>
<hr>
<div
class=
"three-col"
>
% if item.status == "purchased":
<div
class=
"col-1"
>
...
...
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