purchase page reflects library membership and purchased status
parent
4710c5d413
commit
99c7b73d4a
|
@ -34,7 +34,7 @@
|
||||||
<li class="parent">
|
<li class="parent">
|
||||||
<span class="faq">Do eBooks I buy through unglue.it have DRM?</span>
|
<span class="faq">Do eBooks I buy through unglue.it have DRM?</span>
|
||||||
<span class="menu level2 answer">
|
<span class="menu level2 answer">
|
||||||
NO. However, each purchased book you download from unglue.it is personalized with your unglue.it username and your personal license certificate. You should not make copies of personal ebooks for your friends; if you do so, your license may be revoked and the rightsholders may get mad at you. To share ebooks, you can purchase Unglue.it library licenses!
|
NO. However, each purchased book you download from unglue.it is personalized with your unglue.it username and your personal license certificate. You should not make copies of personal ebooks for your friends; if you do so, your license may be revoked and the rightsholders may get mad at you. To share ebooks, check out Unglue.it library licenses!
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -44,6 +44,19 @@
|
||||||
If you're unhappy with an Unglue.it ebook in any way, use the feedback tab at the right of this page to ask for a refund. But be sure to tell us why- that's our best way of learning how to make Ungue.it better!
|
If you're unhappy with an Unglue.it ebook in any way, use the feedback tab at the right of this page to ask for a refund. But be sure to tell us why- that's our best way of learning how to make Ungue.it better!
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class="parent">
|
||||||
|
<span class="faq">What is a Library License?</span>
|
||||||
|
<span class="menu level2 answer">
|
||||||
|
If your library participates in Unglue.it, you can pay for a library license instead of purchasing an individual license. The ebook is yours for the first loan period, but the license belongs to your library so other library users can use it after your loan period is up. Obviously, it costs more because more people benefit, but you get the benefit of being part of a community sharing library assets.
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
<li class="parent">
|
||||||
|
<span class="faq">Why can't I buy a Library License?</span>
|
||||||
|
<span class="menu level2 answer">
|
||||||
|
You need to join a library participating in Unglue.it. If your library is not on <a href="{% url library_list %}">this list</a>, contact your librarian and have them check out our <a href="{% url libraries %}">libraries FAQ</a>.
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -72,13 +72,16 @@
|
||||||
{{ form.non_field_errors }}
|
{{ form.non_field_errors }}
|
||||||
|
|
||||||
{% if work.offers.all|length > 1 %}
|
{% if work.offers.all|length > 1 %}
|
||||||
<div class="pledge_amount premium_level">Choose your license type:</div>
|
<div class="pledge_amount premium_level">Individual or Library License?</div>
|
||||||
|
|
||||||
<div style="height:10px;"></div>
|
<div style="height:10px;"></div>
|
||||||
|
|
||||||
<ul class="support menu" id="premiums_list">
|
<ul class="support menu" id="premiums_list">
|
||||||
{% with work.last_campaign.individual_offer as offer %}
|
{% with work.last_campaign.individual_offer as offer %}
|
||||||
<li class="first">
|
<li class="first">
|
||||||
|
{% if user_license.purchased %}
|
||||||
|
<span class="menu-item-desc">Individual license already purchased!</span>
|
||||||
|
{% else %}
|
||||||
<label for="offer_{{offer.id}}">
|
<label for="offer_{{offer.id}}">
|
||||||
<input type="radio" name="offer_id" id="offer_{{offer.id}}" value="{{offer.id}}" {% ifequal request.REQUEST.offer_id offer.id|stringformat:"s" %}checked="checked"{% else %} {% ifequal offer_id offer.id %}checked="checked"{% endifequal %}{% endifequal %} />
|
<input type="radio" name="offer_id" id="offer_{{offer.id}}" value="{{offer.id}}" {% ifequal request.REQUEST.offer_id offer.id|stringformat:"s" %}checked="checked"{% else %} {% ifequal offer_id offer.id %}checked="checked"{% endifequal %}{% endifequal %} />
|
||||||
<span class="menu-item-price">
|
<span class="menu-item-price">
|
||||||
|
@ -87,7 +90,33 @@
|
||||||
<span class="menu-item-desc">
|
<span class="menu-item-desc">
|
||||||
{{ offer.get_license_display }}
|
{{ offer.get_license_display }}
|
||||||
</span>
|
</span>
|
||||||
</label></li>
|
</label>
|
||||||
|
{% endif %}
|
||||||
|
</li>
|
||||||
|
{% endwith %}
|
||||||
|
{% with work.last_campaign.library_offer as offer %}
|
||||||
|
<li class="last">
|
||||||
|
{% if request.user.profile.libraries %}
|
||||||
|
<label for="offer_{{offer.id}}">
|
||||||
|
<input type="radio" name="offer_id" id="offer_{{offer.id}}" value="{{offer.id}}" {% ifequal request.REQUEST.offer_id offer.id|stringformat:"s" %}checked="checked"{% else %} {% ifequal offer_id offer.id %}checked="checked"{% endifequal %}{% endifequal %} />
|
||||||
|
<span class="menu-item-price">
|
||||||
|
${{ offer.price|intcomma }}
|
||||||
|
</span>
|
||||||
|
<span class="menu-item-desc">
|
||||||
|
{{ offer.get_license_display }} for
|
||||||
|
<select name="library" class="std_form">
|
||||||
|
{% for library in request.user.profile.libraries %}
|
||||||
|
<option value="library.id">{{ library }}</option>
|
||||||
|
{% endfor %}
|
||||||
|
</select>
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
{% else %}
|
||||||
|
<a href="{% url library_list %}"><span class="menu-item-desc">
|
||||||
|
Join a Library to share and borrow unglue.it ebooks
|
||||||
|
</span></a>
|
||||||
|
{% endif %}
|
||||||
|
</li>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
</ul>
|
</ul>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
|
@ -1093,6 +1093,7 @@ class PurchaseView(PledgeView):
|
||||||
'tid': self.transaction.id if self.transaction else None,
|
'tid': self.transaction.id if self.transaction else None,
|
||||||
'cover_width': cover_width(self.work),
|
'cover_width': cover_width(self.work),
|
||||||
'offer_id':self.offer_id,
|
'offer_id':self.offer_id,
|
||||||
|
'user_license': self.work.get_user_license(self.request.user),
|
||||||
})
|
})
|
||||||
|
|
||||||
return context
|
return context
|
||||||
|
|
Loading…
Reference in New Issue