Merge branch 'master' of github.com:Gluejar/regluit
Conflicts: frontend/templates/metrics.html frontend/views.pypull/1/head
commit
1304a73790
|
@ -562,9 +562,13 @@ Need more ideas? We're happy to work with rights holders personally to craft a
|
|||
<dd>The campaign ends. Supporters' credit cards are not charged, so you are not paid, and not obligated to release an unglued ebook.<br /><br />
|
||||
If you're concerned a campaign may not reach its goal you have several options. You can lower the target price to a level more likely to succeed. Or you are welcome to run a second campaign at a later time, perhaps with a different goal, duration, and publicity strategy. We'd be happy to consult with you about this.</dd>
|
||||
|
||||
<dt>Is there a minimum funding goal?</dt>
|
||||
|
||||
<dd>Yes, the minimum funding goal is $500.</dd>
|
||||
|
||||
<dt>What fees does Unglue.it charge?</dt>
|
||||
|
||||
<dd>When a campaign succeeds, Unglue.it will deduct a 6% commission on the funds raised. Our payment processor also charges a small fee on each transaction, plus (where relevant) currency conversion costs. If you do not have a suitable ePub version of your book available, you will also need to cover ebook conversion costs; please price this into your goal for a campaign. Details are spelled out in the Platform Services Agreement that rights holders must sign before launching an Unglue.it campaign.</dd>
|
||||
<dd>When a campaign succeeds, Unglue.it will deduct a 6% commission (or $60, whichever is greater) on the funds raised. Our payment processor also charges a small fee on each transaction, plus (where relevant) currency conversion costs. If you do not have a suitable ePub version of your book available, you will also need to cover ebook conversion costs; please price this into your goal for a campaign. Details are spelled out in the Platform Services Agreement that rights holders must sign before launching an Unglue.it campaign.</dd>
|
||||
|
||||
<dt>Does it cost money to start a campaign on Unglue.it?</dt>
|
||||
|
||||
|
|
|
@ -92,5 +92,20 @@
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<h2>Pledges</h2>
|
||||
<dl>
|
||||
<dt>How much has been pledged to Unglue.it?</dt>
|
||||
<p>Excludes pledges canceled, failed, or otherwise uncollectable.</p>
|
||||
<dd>
|
||||
<ul class="terms">
|
||||
<li>{{ transactions.today.count }} pledges have been made today totaling ${% if transactions.today.sum %}{{ transactions.today.sum }}{% else %}0{% endif %}.
|
||||
<li>{{ transactions.yesterday.count }} pledges were made yesterday totaling ${% if transactions.yesterday.sum %}{{ transactions.yesterday.sum }}{% else %}0{% endif %}.
|
||||
<li>{{ transactions.days7.count }} pledges have been made in the past 7 days totaling ${% if transactions.days7.sum %}{{ transactions.days7.sum }}{% else %}0{% endif %}.
|
||||
<li>{{ transactions.month.count }} pledges have been made in the past month totaling ${% if transactions.month.sum %}{{ transactions.month.sum }}{% else %}0{% endif %}.
|
||||
<li>{{ transactions.count }} pledges have been made altogether totaling ${{ transactions.sum }}.
|
||||
</li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
<div class="jsmodule rounded clearfix">
|
||||
<div class="jsmod-content">
|
||||
|
||||
<div><h2>Error: Card authorization for a pledge transaction</h2>
|
||||
<div><h2>Error: Card authorization</h2>
|
||||
<div>
|
||||
<p>Unglue.it would like to process your pledge, but there's been some problem processing your credit card (<b>{{exception.message}}</b>). Please <a href="{{ request.get_full_path }}">try again</a>, or contact <a href="mailto:support@gluejar.com?subject={{ request.get_full_path|urlencode }}">unglue.it support</a>.
|
||||
<p>Unglue.it would like to accept your credit card, but we encountered the following problem: <b>{{exception.message}}</b>. Please <a href="{{ request.get_full_path }}">try again</a>, or contact <a href="mailto:support@gluejar.com?subject={{ request.get_full_path|urlencode }}">unglue.it support</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -115,7 +115,7 @@ The Company's mission is to make copyrighted literary works freely and readily a
|
|||
|
||||
<p>Rights Holders who have executed a Platform Services Agreement may claim works and may initiate and conduct Campaigns as described in the Rights Holder Tools page at <a href="https://unglue.it/rightsholders/">https://unglue.it/rightsholders/</a>.</p>
|
||||
|
||||
<p>There is no charge for Rights Holders to launch and fund a Campaign using the Service. However, the Company will withhold a “Sales Commission” of 6% of gross aggregate Contributions upon the completion of a successful Campaign. The Rights Holder is responsible for providing a Standard Ebook File at their own expense, as described in a Platform Services Agreement. </p>
|
||||
<p>There is no charge for Rights Holders to launch and fund a Campaign using the Service. However, the Company will withhold a “Sales Commission” of 6% of gross aggregate Contributions (or $60, whichever is greater) upon the completion of a successful Campaign. The Rights Holder is responsible for providing a Standard Ebook File at their own expense, as described in a Platform Services Agreement. </p>
|
||||
|
||||
<p>The Rights Holder hereby authorizes the Company to use the Service to display and market the Subject Work, to collect Contributions or cause Contributions to be collected from Supporters on behalf of the Rights Holder, and to retain, reserve and/or distribute the Contributions to the Rights Holder, to the Company, to Designated Vendors (as defined below) or otherwise pursuant to the terms of this Agreement. </p>
|
||||
|
||||
|
|
|
@ -1595,6 +1595,20 @@ class InfoPageView(TemplateView):
|
|||
wishlists.yesterday = wishlists.filter(created__range = (date_today()-timedelta(days=1), date_today()))
|
||||
else:
|
||||
wishlists.yesterday = wishlists.month.filter(created__day = date_today().day-1)
|
||||
|
||||
transactions = Transaction.objects.filter(status__in = [TRANSACTION_STATUS_ACTIVE, TRANSACTION_STATUS_COMPLETE])
|
||||
transactions.sum = transactions.aggregate(Sum('amount'))['amount__sum']
|
||||
transactions.today = transactions.filter(date_created__range = (date_today(), now()))
|
||||
transactions.today.sum = transactions.today.aggregate(Sum('amount'))['amount__sum']
|
||||
transactions.days7 = transactions.filter(date_created__range = (date_today()-timedelta(days=7), now()))
|
||||
transactions.days7.sum = transactions.days7.aggregate(Sum('amount'))['amount__sum']
|
||||
transactions.year = transactions.filter(date_created__year = date_today().year)
|
||||
transactions.year.sum = transactions.year.aggregate(Sum('amount'))['amount__sum']
|
||||
transactions.month = transactions.filter(date_created__month = date_today().month)
|
||||
transactions.month.sum = transactions.month.aggregate(Sum('amount'))['amount__sum']
|
||||
transactions.yesterday = transactions.filter(date_created__range = (date_today()-timedelta(days=1), date_today()))
|
||||
transactions.yesterday.sum = transactions.yesterday.aggregate(Sum('amount'))['amount__sum']
|
||||
|
||||
return {
|
||||
'users': users,
|
||||
'works': works,
|
||||
|
|
|
@ -233,7 +233,7 @@ GOODREADS_API_KEY = ""
|
|||
GOODREADS_API_SECRET = ""
|
||||
|
||||
# unglue.it parameters
|
||||
UNGLUEIT_MINIMUM_TARGET = '1000' # in US Dollars
|
||||
UNGLUEIT_MINIMUM_TARGET = '500' # in US Dollars
|
||||
UNGLUEIT_LONGEST_DEADLINE = '180' # number of days allowed for a campaign
|
||||
UNGLUEIT_RECOMMENDED_USERNAME = 'unglueit'
|
||||
|
||||
|
|
Loading…
Reference in New Issue