regluit/frontend/templates/gift_welcome.html

28 lines
1.2 KiB
HTML

{% extends "registration/registration_base.html" %}
{% block title %}Welcome to Unglue.It{% endblock %}
{% block doccontent %}
<p> Your new book, "<a href="{% url work work.id %}">{{ work.title }}</a>" from <a href="{% url supporter gift.giver %}">{{ gift.giver.username }}</a>, is waiting for you. <a href="{% url download work.id %}">Download it here</a>.</p>
<div><p>From {{ gift.giver.username }}:</p>
<p style="margin:1em">{{ gift.message }}</p>
</div>
<p> If you want download your ebook later, you need to set a password, and you may want to pick your own username. We've put it on your <a href="{% url supporter request.user %}">favorites list</a> for you.
<div>
<form method="POST" action="#">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" name="change_username" value="Change username" id="submit_username">
</form>
</div>
<br />
<div class="welcomealternatives">
Or you can <a href="{% url regluit.frontend.views.edit_user %}">change your username</a> &#151; <a href="{% url free %}">browse free books</a> &#151; <a href="/feedback/">send us feedback</a> &#151; <a href="{% url notification_notice_settings %}">manage your contact preferences</a>
</div>
{% endblock %}