verified_cert_receipt.html 10.5 KB
Newer Older
1 2 3
<%! from django.utils.translation import ugettext as _ %>

<%inherit file="../main.html" />
4
<%block name="bodyclass">register verification-process step-confirmation</%block>
5

6
<%block name="pagetitle">${_("Receipt (Order")} ${order.id})</%block>
7

8
<%block name="content">
9 10 11 12 13 14
% if notification is not UNDEFINED:
<section class="notification">
    ${notification}
</section>
% endif

15
<div class="container">
16
  <section class="wrapper">
17 18

    <header class="page-header">
19 20 21
      <h2 class="title">

        <span class="wrapper-sts">
22 23 24 25 26
          <span class="sts-label">${_("You are now registered for: ")}</span>
          <span class="sts-course-org">${course_org}</span>
          <span class="sts-course-number">${course_num}</span>
          <span class="sts-course-name">${course_name}</span>
        </span>
27

28 29 30
        <span class="sts-track">
          <span class="sts-track-value">
            <span class="context">${_("Registered as: ")}</span> ${_("ID Verified")}
31 32 33 34 35 36
          </span>
        </span>
      </h2>
    </header>

    <div class="wrapper-progress">
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
      <section class="progress">
        <h3 class="sr title">${_("Your Progress")}</h3>

        <ol class="progress-steps">
          <li class="progress-step is-current" id="progress-step0">
            <span class="wrapper-step-number"><span class="step-number">0</span></span>
            <span class="step-name"><span class="sr">${_("Current Step: ")}</span>${_("Intro")}</span>
          </li>

          <li class="progress-step" id="progress-step1">
            <span class="wrapper-step-number"><span class="step-number">1</span></span>
            <span class="step-name">${_("Take Photo")}</span>
          </li>

          <li class="progress-step" id="progress-step2">
            <span class="wrapper-step-number"><span class="step-number">2</span></span>
            <span class="step-name">${_("Take ID Photo")}</span>
          </li>

          <li class="progress-step" id="progress-step3">
            <span class="wrapper-step-number"><span class="step-number">3</span></span>
            <span class="step-name">${_("Review")}</span>
          </li>

          <li class="progress-step" id="progress-step4">
            <span class="wrapper-step-number"><span class="step-number">4</span></span>
            <span class="step-name">${_("Make Payment")}</span>
          </li>

          <li class="progress-step progress-step-icon" id="progress-step5">
            <span class="wrapper-step-number"><span class="step-number">
68
              <i class="icon fa fa-check-square-o"></i>
69
            </span></span>
70
            <span class="step-name"><span class="sr">${_("Current Step: ")}</span>${_("Confirmation")}</span>
71 72 73 74 75 76 77 78 79 80
          </li>
        </ol>

        <span class="progress-sts">
          <span class="progress-sts-value"></span>
        </span>
      </section>
    </div>

    <div class="wrapper-content-main">
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
      <article class="content-main">
        <h3 class="title">${_("Congratulations! You are now verified on ")} ${_(settings.PLATFORM_NAME)}.</h3>

        <div class="instruction">
          <p>${_("You are now registered as a verified student! Your registration details are below.")}</p>
        </div>

        <ul class="list-info">
          <li class="info-item course-info">
            <h4 class="title">${_("You are registered for:")}</h4>

            <div class="wrapper-report">
              <table class="report report-course">
                <caption class="sr">${_("A list of courses you have just registered for as a verified student")}</caption>
                <thead>
                  <tr>
                    <th scope="col" >${_("Course")}</th>
                    <th scope="col" >${_("Status")}</th>
99
                    <th scope="col" ><span class="sr">${_("Options")}</span></th>
100 101 102 103
                  </tr>
                </thead>

                <tbody>
104
                  % for item, course in shoppingcart_items:
105 106 107
                  <tr>
                    <td>${item.line_desc}</td>
                    <td>
108
                       ${_("Starts: {start_date}").format(start_date=course_start_date_text)}
109 110
                    </td>
                    <td class="options">
111
                      %if course_has_started:
112
                          <a class="action action-course" href="${course_root_url}">${_("Go to Course")}</a>
113 114 115 116 117 118 119 120 121
                      %else:
                      %endif
                    </td>
                  </tr>
                  % endfor
                </tbody>
                <tfoot>
                  <tr class="course-actions">
                    <td colspan="3">
122
                      <a class="action action-dashboard" href="${dashboard_url}">${_("Go to your Dashboard")}</a>
123 124 125 126 127 128 129 130 131
                    </td>
                  </tr>
                </tfoot>
              </table>
            </div>
          </li>

          <li class="info-item verification-info">
            <h4 class="title">${_("Verified Status")}</h4>
132

133 134 135 136 137 138
            <div class="copy">
              <p>${_("We have received your identification details to verify your identity. If there is a problem with any of the items, we will contact you to resubmit. You can now register for any of the verified certificate courses this semester without having to re-verify.")}</p>

              <p>${_("The professor will ask you to periodically submit a new photo to verify your work during the course (usually at exam times).")}</p>
            </div>
          </li>
139

140 141
          <li class="info-item payment-info">
            <h4 class="title">${_("Payment Details")}</h4>
142

143 144
            <div class="copy">
              <p>${_("Please print this page for your records; it serves as your receipt. You will also receive an email with the same information.")}</p>
145 146
            </div>

147 148 149 150 151 152 153 154 155 156 157 158
            <div class="wrapper-report">
              <table class="report report-receipt">
                <thead>
                  <tr>
                    <th scope="col" >${_("Order No.")}</th>
                    <th scope="col" >${_("Description")}</th>
                    <th scope="col" >${_("Date")}</th>
                    <th scope="col" >${_("Description")}</th>
                  </tr>
                </thead>

                <tbody>
159
                  % for item, course in shoppingcart_items:
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
                  <tr>
                    % if item.status == "purchased":
                    <td>${order.id}</td>
                    <td>${item.line_desc}</td>
                    <td>${order.purchase_time.date().isoformat()}</td>
                    <td>${"{0:0.2f}".format(item.line_cost)} (${item.currency.upper()})</td>

                    % elif item.status == "refunded":
                    <td><del>${order.id}</del></td>
                    <td><del>${item.line_desc}</del></td>
                    <td><del>${order.purchase_time.date().isoformat()}</del></td>
                    <td><del>${"{0:0.2f}".format(item.line_cost)} (${item.currency.upper()})</del></td>
                    % endif
                  </tr>
                  % endfor
                </tbody>

                <tfoot>
                  <tr>
                    <th scope="row" class="total-label" colspan="1">${_("Total")}</th>
                    <td claass="total-value" colspan="3">
                      <span class="value-amount">${"{0:0.2f}".format(order.total_cost)} </span>
                       <span class="value-currency">(${item.currency.upper()})</span>
                    </td>
                  </tr>
                </tfoot>
              </table>

              % if any_refunds:
              <div class="msg msg-refunds">
                <h4 class="title sr">Please Note:</h4>
                <div class="copy">
192 193
     		  ## Translators: Please keep the "<del>" and "</del>" tags around your translation of the word "this" in your translation.
                  <p>${_("Note: items with strikethough like <del>this</del> have been refunded.")}</p>
194 195 196 197
                </div>
              </div>
              % endif
            </div>
198 199 200

            <div class="copy">
              <p>${_("Billed To")}:
201
                <span class="name-first">${order.bill_to_first}</span> <span class="name-last">${order.bill_to_last}</span> (<span class="address-city">${order.bill_to_city}</span>, <span class="address-state">${order.bill_to_state}</span> <span class="address-postalcode">${order.bill_to_postalcode}</span> <span class="address-country">${order.bill_to_country.upper()}</span>)
202 203
              </p>
            </div>
204 205
          </li>

206
          <%doc>
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
          <li class="info-item billing-info">
            <h4 class="title">${_("Billing Information")}</h4>

            <div class="wrapper-report">
              <table class="report report-billing">
                <thead>
                  <tr>
                    <th scope="col">${_("Billed To")}</th>
                    <th scope="col">${_("Billing Address")}</th>
                    <th scope="col">${_("Payment Method Type")}</th>
                    <th scope="col">${_("Payment Method Details")}</th>
                  </tr>
                </thead>

                <tbody>
                  <tr>
                    <td class="billing-to">
                      ${order.bill_to_first} ${order.bill_to_last}
                    </td>

                    <td class="billing-address">
                      <span class="address-street1">${order.bill_to_street1}</span>
                      <span class="address-street2">${order.bill_to_street2}</span>

                      <span class="address-city">${order.bill_to_street2}</span>,
                      <span class="address-state">${order.bill_to_state}</span>
                      <span class="address-postalcode">${order.bill_to_postalcode}</span>

                      <span class="address-country">${order.bill_to_country.upper()}</span>
                    </td>

                    <td class="billing-methodtype">
                      ${order.bill_to_cardtype}
                    </td>
                    <td class="method-details">
                      ${order.bill_to_ccnum}
                    </td>
                  </tr>
                </tbody>

                <tfoot>
                  <tr>
                    <th scope="row" class="total-label" colspan="1">${_("Total")}</th>
                    <td class="total-value" colspan="3"><span class="value-amount">${"{0:0.2f}".format(order.total_cost)}</span> <span class="value-currency">(${item.currency.upper()})</span></td>
                  </tr>
                </tfoot>
              </table>
            </div>
          </li>
256
          </%doc>
257 258
        </ul>
      </article>
259
    </div>
260 261

</section>
262 263
</div>
</%block>