Two endpoints are intended to be used by AJAX calls from the web UI with an authenticated user. When enabled, the value of the preference is an encryption of the username, to be used as a token for one-click unsubscribe links. The third endpoint is the target of unsubscribe links, which displays a page with an appropriate message to the user.
18 lines
474 B
HTML
18 lines
474 B
HTML
<%! from django.core.urlresolvers import reverse %>
|
|
<%inherit file="main.html" />
|
|
|
|
<%namespace name='static' file='static_content.html'/>
|
|
|
|
<section class="container unsubscribe">
|
|
|
|
<section class="message">
|
|
<h1>Unsubscribe Successful!</h1>
|
|
<hr class="horizontal-divider">
|
|
|
|
<p>
|
|
You will no longer receive notification emails from edX.
|
|
Click <a href="${reverse('dashboard')}">here</a> to return to your dashboard.
|
|
</p>
|
|
</section>
|
|
</section>
|