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
14357f7e
Commit
14357f7e
authored
Jul 17, 2014
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move a few HTML elements on the instructor dashboard page
parent
5a9fc036
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
lms/templates/instructor/instructor_dashboard_2/e-commerce.html
+10
-7
No files found.
lms/templates/instructor/instructor_dashboard_2/e-commerce.html
View file @
14357f7e
...
...
@@ -3,18 +3,21 @@
<
%
include
file=
"add_coupon_modal.html"
args=
"section_data=section_data"
/>
<
%
include
file=
"edit_coupon_modal.html"
args=
"section_data=section_data"
/>
<div
class=
"ecommerce-wrapper"
>
%if section_data['access']['finance_admin'] is True:
<h2>
${_("Transactions")}
</h2>
%if section_data['total_amount'] is not None:
<span>
${_("Total Amount: ")}
<span>
$${section_data['total_amount']}
</span></span>
%endif
<p>
${_("Click to generate a CSV file for all purchase transactions in this course")}
</p>
<p><input
type=
"button"
name=
"list-purchase-transaction-csv"
value=
"${_("
Download
All
e-Commerce
Purchase
")}"
data-endpoint=
"${ section_data['get_purchase_transaction_url'] }"
data-csv=
"true"
></p>
<p><input
type=
"button"
name=
"list-purchase-transaction-csv"
value=
"${_("
Download
All
e-Commerce
Purchase
s
")}"
data-endpoint=
"${ section_data['get_purchase_transaction_url'] }"
data-csv=
"true"
></p>
%endif
<div
class=
"ecommerce-wrapper"
>
<h2>
${_("Coupons List")}
%if section_data['total_amount'] is not None:
<span>
${_("Total Amount: ")}
<span>
$${section_data['total_amount']}
</span></span>
%endif
</h2>
<h2>
${_("Coupons List")}
</h2>
<h3
class=
"coupon-errors"
id=
"coupon-error"
></h3>
<span
class=
"tip"
>
${_("Coupons Information")}
<a
id=
"add_coupon_link"
href=
"#add-coupon-modal"
rel=
"leanModal"
...
...
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