Commit 14357f7e by Chris Dodge

Move a few HTML elements on the instructor dashboard page

parent 5a9fc036
......@@ -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 Purchases")}" 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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment