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
0f9b501d
Commit
0f9b501d
authored
Jan 26, 2015
by
Sylvia Pearce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update UI text for enrollment codes
parent
93a3bf55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
35 deletions
+35
-35
lms/templates/instructor/instructor_dashboard_2/e-commerce.html
+19
-19
lms/templates/instructor/instructor_dashboard_2/generate_registarion_codes_modal.html
+16
-16
No files found.
lms/templates/instructor/instructor_dashboard_2/e-commerce.html
View file @
0f9b501d
...
...
@@ -13,32 +13,32 @@
<h2>
${_('Registration Codes')}
</h2>
<div>
%if section_data['sales_admin']:
<span
class=
"code_tip"
>
${_('C
lick to generate Registration Codes
')}
<a
id=
"registration_code_generation_link"
href=
"#reg_code_generation_modal"
class=
"add blue-button"
>
${_('
Generate Registration
Codes')}
</a>
<span
class=
"code_tip"
>
${_('C
reate one or more pre-paid course enrollment codes. Students can use these codes to enroll in the course.
')}
<a
id=
"registration_code_generation_link"
href=
"#reg_code_generation_modal"
class=
"add blue-button"
>
${_('
Create Enrollment
Codes')}
</a>
</span>
%endif
<p>
${_('
Click to generate a CSV file of all Course Registrations Codes:
')}
</p>
<p>
${_('
Download a .csv file of all enrollment codes for this course
')}
</p>
<p>
<form
action=
"${ section_data['get_registration_code_csv_url'] }"
id=
"download_registration_codes"
method=
"post"
>
<input
type=
"hidden"
name=
"csrfmiddlewaretoken"
value=
"${ csrf_token }"
>
<input
type=
"text"
name=
"download_company_name"
placeholder=
"Company Name (
O
ptional)"
/>
<input
type=
"submit"
name=
"list-registration-codes-csv"
value=
"${_("
Download
Registration
Codes
")}"
data-csv=
"true"
>
<input
type=
"text"
name=
"download_company_name"
placeholder=
"Company Name (
o
ptional)"
/>
<input
type=
"submit"
name=
"list-registration-codes-csv"
value=
"${_("
Download
All
Enrollment
Codes
")}"
data-csv=
"true"
>
</form>
</p>
<p>
${_('
Click to generate a CSV file of all Active Course Registrations Codes:
')}
</p>
<p>
${_('
Download a .csv file of all unused enrollment codes for this course
')}
</p>
<p>
<form
action=
"${ section_data['active_registration_code_csv_url'] }"
id=
"active_registration_codes"
method=
"post"
>
<input
type=
"hidden"
name=
"csrfmiddlewaretoken"
value=
"${ csrf_token }"
>
<input
type=
"text"
name=
"active_company_name"
placeholder=
"Company Name (
O
ptional)"
/>
<input
type=
"submit"
name=
"active-registration-codes-csv"
value=
"${_("
Active
Registration
Codes
")}"
data-csv=
"true"
>
<input
type=
"text"
name=
"active_company_name"
placeholder=
"Company Name (
o
ptional)"
/>
<input
type=
"submit"
name=
"active-registration-codes-csv"
value=
"${_("
Download
Unused
Enrollment
Codes
")}"
data-csv=
"true"
>
</form>
</p>
<p>
${_('
Click to generate a CSV file of all Spent Course Registrations Codes:
')}
</p>
<p>
${_('
Download a .csv file of all used enrollment codes for this course
')}
</p>
<p>
<form
action=
"${ section_data['spent_registration_code_csv_url'] }"
id=
"spent_registration_codes"
method=
"post"
>
<input
type=
"hidden"
name=
"csrfmiddlewaretoken"
value=
"${ csrf_token }"
>
<input
type=
"text"
name=
"spent_company_name"
placeholder=
"Company Name (
O
ptional)"
/>
<input
type=
"submit"
name=
"spent-registration-codes-csv"
value=
"${_("
Spent
Registration
Codes
")}"
data-csv=
"true"
>
<input
type=
"text"
name=
"spent_company_name"
placeholder=
"Company Name (
o
ptional)"
/>
<input
type=
"submit"
name=
"spent-registration-codes-csv"
value=
"${_("
Download
Used
Enrollment
Codes
")}"
data-csv=
"true"
>
</form>
</p>
<a
id=
"registration_code_generation_link-trigger"
href=
"#registration_code_generation_modal"
rel=
"leanModal"
></a>
...
...
@@ -63,21 +63,21 @@
<h2>
${_("Sales")}
</h2>
<div>
%if section_data['total_amount'] is not None:
<span><strong>
${_("Total C
C Amount
: ")}
</strong></span><span>
$${section_data['total_amount']}
</span>
<span><strong>
${_("Total C
redit Card Purchases
: ")}
</strong></span><span>
$${section_data['total_amount']}
</span>
%endif
<span
class=
"csv_tip"
>
<div
>
${_("
Click to generate a CSV file for all sales records in this course
")}
<input
type=
"button"
class=
"add blue-button"
name=
"list-sale-csv"
value=
"${_("
Download
All
Invoice
Sale
s
")}"
data-endpoint=
"${ section_data['get_sale_records_url'] }"
data-csv=
"true"
>
<input
type=
"button"
class=
"add blue-button"
name=
"list-order-sale-csv"
value=
"${_("
Download
All
C
C
Sal
es
")}"
data-endpoint=
"${ section_data['get_sale_order_records_url'] }"
data-csv=
"true"
>
${_("
Download a .csv file for all credit card purchases or for all invoices, regardless of status
")}
<input
type=
"button"
class=
"add blue-button"
name=
"list-sale-csv"
value=
"${_("
Download
All
Invoices
")}"
data-endpoint=
"${ section_data['get_sale_records_url'] }"
data-csv=
"true"
>
<input
type=
"button"
class=
"add blue-button"
name=
"list-order-sale-csv"
value=
"${_("
Download
All
C
redit
Card
Purchas
es
")}"
data-endpoint=
"${ section_data['get_sale_order_records_url'] }"
data-csv=
"true"
>
</div>
</span>
<hr>
<p>
${_("
Enter the invoice number to invalidate or re-validate sale
")}
</p>
<p>
${_("
To cancel or resubmit an invoice, enter the invoice number below.
")}
</p>
<span
class=
"invalid_sale"
>
<input
type=
"number"
id=
"invoice_number"
placeholder=
"${_("
Enter
Invoice
Number
")}"
/>
<input
type=
"button"
class=
"add blue-button"
id=
"invalidate_invoice"
value=
"${_("
Invalidate
Sal
e
")}"
>
<input
type=
"button"
class=
"add blue-button"
id=
"re_validate_invoice"
value=
"${_("
Re
validate
Sal
e
")}"
>
<input
type=
"number"
id=
"invoice_number"
placeholder=
"${_("
Invoice
Number
")}"
/>
<input
type=
"button"
class=
"add blue-button"
id=
"invalidate_invoice"
value=
"${_("
Cancel
Invoic
e
")}"
>
<input
type=
"button"
class=
"add blue-button"
id=
"re_validate_invoice"
value=
"${_("
Re
submit
Invoic
e
")}"
>
</span>
</div>
...
...
lms/templates/instructor/instructor_dashboard_2/generate_registarion_codes_modal.html
View file @
0f9b501d
...
...
@@ -13,12 +13,12 @@
<div
id=
"registration-content"
>
<header>
<h2>
${_("
Generate Registration
Codes")}
</h2>
<h2>
${_("
Create Enrollment
Codes")}
</h2>
</header>
<div
class=
"instructions"
>
<p>
${_("
Please enter the details below
")}
</p>
${_("
* Required Information
")}
</p>
</div>
<form
id=
"generate_codes"
action=
"${section_data['generate_registration_code_csv_url']}"
method=
"post"
>
...
...
@@ -33,15 +33,15 @@
<input
class=
"field required"
id=
"id_company_name"
type=
"text"
name=
"company_name"
placeholder=
"${_('Organization Name')}"
aria-required=
"true"
/>
<span
class=
"tip-text"
>
${_("
What is the company the seats were sold to?
")}
${_("
The organization that purchased enrollments in the course
")}
</span>
</li>
<li
class=
"field required text"
id=
"generate-registration-modal-field-company-contact-name"
>
<label
for=
"id_company_contact_name"
class=
"required text"
>
${_("Organization Contact")}
</label>
<input
class=
"field required"
id=
"id_company_contact_name"
type=
"text"
name=
"company_contact_name"
placeholder=
"${_('Name')}"
aria-required=
"true"
/>
placeholder=
"${_('
Organization Contact
Name')}"
aria-required=
"true"
/>
<span
class=
"tip-text"
>
${_("
Who is the key contact at the company the sale was made to?
")}
${_("
The primary contact at the organization
")}
</span>
</li>
<li
class=
"field text"
id=
"generate-registration-modal-field-company-email"
>
...
...
@@ -55,7 +55,7 @@
<input
class=
"field required"
id=
"id_recipient_name"
type=
"text"
name=
"recipient_name"
placeholder=
"${_('Name')}"
aria-required=
"true"
/>
<span
class=
"tip-text"
>
${_("
Who at the company should the invoice be sent to?
")}
${_("
The contact who should receive the invoice
")}
</span>
</li>
<li
class=
"field text"
id=
"generate-registration-modal-field-recipient-email"
>
...
...
@@ -103,36 +103,36 @@
</li>
<div
class=
"clearfix"
></div>
<li
class=
"field required text"
id=
"generate-registration-modal-field-total-price"
>
<label
for=
"id_sale_price"
class=
"required text"
>
${_("
Price of Sal
e")}
</label>
<label
for=
"id_sale_price"
class=
"required text"
>
${_("
Sale Pric
e")}
</label>
<input
class=
"field required"
id=
"id_sale_price"
type=
"text"
name=
"sale_price"
aria-required=
"true"
/>
<span
class=
"tip-text"
>
${_("
What was the total sale price for all seats sold?
")}
${_("
The total price for all enrollments purchased
")}
</span>
</li>
<li
class=
"field required text"
id=
"generate-registration-modal-field-total-codes"
>
<label
for=
"id_total_registration_codes"
class=
"required text"
>
${_("Number of
registration
s")}
</label>
<label
for=
"id_total_registration_codes"
class=
"required text"
>
${_("Number of
Enrollment Code
s")}
</label>
<input
class=
"field required"
id=
"id_total_registration_codes"
type=
"text"
name=
"total_registration_codes"
aria-required=
"true"
/>
<span
class=
"tip-text"
>
${_("
Number of codes to generate for the Invoic
e")}
${_("
The total number of enrollment codes to creat
e")}
</span>
</li>
<div
class=
"clearfix"
></div>
<li
class=
"field text"
id=
"generate-registration-modal-field-internal-reference"
>
<label
for=
"id_internal_reference"
>
${_("
(Optional) Sale Label
")}
</label>
<label
for=
"id_internal_reference"
>
${_("
Course Team Internal Reference
")}
</label>
<input
class=
"field"
id=
"id_internal_reference"
type=
"text"
name=
"internal_reference"
aria-required=
"true"
placeholder=
"
BigCorp-IT-Department-1
"
/>
aria-required=
"true"
placeholder=
""
/>
<span
class=
"tip-text"
>
${_("Internal
tag to associate with
the sale")}
${_("Internal
reference information for
the sale")}
</span>
</li>
<li
class=
"field text"
id=
"generate-registration-modal-field-custom-reference-number"
>
<label
for=
"id_customer_reference_number"
>
${_("
(Optional) Customer Reference Number
")}
</label>
<label
for=
"id_customer_reference_number"
>
${_("
Customer Reference
")}
</label>
<input
class=
"field"
id=
"id_customer_reference_number"
type=
"text"
name=
"customer_reference_number"
aria-required=
"true"
placeholder=
"PO #"
/>
<span
class=
"tip-text"
>
${_("
Any reference specific to the purchasing company, e.g. PO #
")}
${_("
Customer's purchase order or other reference information
")}
</span>
</li>
<div
class=
"clearfix"
></div>
...
...
@@ -144,7 +144,7 @@
</ol>
</fieldset>
<div
class=
"submit"
>
<input
name=
"generate-registration-codes-csv"
type=
"submit"
value=
"${_('
Generate Registration
Codes')}"
data-csv=
"true"
/>
<input
name=
"generate-registration-codes-csv"
type=
"submit"
value=
"${_('
Create Enrollment
Codes')}"
data-csv=
"true"
/>
</div>
</form>
</div>
...
...
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