regluit/frontend/templates/metrics.html

112 lines
4.6 KiB
HTML
Raw Normal View History

{% extends "basedocumentation.html" %}
{% block title %} Metrics {% endblock %}
{% block doccontent %}
<h2>Users</h2>
<dl>
<dt> How many ungluers have registered?</dt>
<dd>
2012-03-21 15:34:00 +00:00
<ul class="terms">
<li>{{ users.today.count }} have registered today. {% if users.today.count %}They are
2012-03-21 15:34:00 +00:00
<ul class="terms">{% for user in users.today %}
<li><a href="{% url supporter user.username %}">{{user.username}}</a></li>
{% endfor %}</ul>{% endif %}
<br />{{ wishlists.today.count }} of them have 1 or more items on a wishlist.
</li>
<li>{{ users.yesterday.count }} registered yesterday.
<br />{{ wishlists.yesterday.count }} of them have 1 or more items on a wishlist.
</li>
<li>{{ users.days7.count }} have registered in the past 7 days.
<br />{{ wishlists.days7.count }} of them have 1 or more items on a list.
</li>
<li>{{ users.month.count }} have registered in this month.
<br />{{ wishlists.month.count }} of them have 1 or more items on a list.
</li>
<li>{{ users.all.count }} have registered in total.
<br />{{ wishlists.all.count }} of them have 1 or more items on a list.
</li>
</ul>
2012-03-21 15:34:00 +00:00
<ul class="terms">
<li> {{ users.gr.count }} ungluers are connected to GoodReads.</li>
<li> {{ users.lt.count }} ungluers are connected to LibraryThing.</li>
<li> {{ users.fb.count }} ungluers are connected to FaceBook.</li>
<li> {{ users.tw.count }} ungluers are connected to Twitter.</li>
</ul>
</dd>
</dl>
<h2>Works</h2>
<dl>
<dt> How many works have been added to Unglue.it?</dt>
<dd>
2012-03-21 15:34:00 +00:00
<ul class="terms">
<li>{{ works.today.count }} have been added today. {% if works.today.count %}They are
2012-03-21 15:34:00 +00:00
<ul class="terms">{% for work in works.today %}
<li><a href="{% url work work.id %}">{{work.title}}</a></li>
{% endfor %}</ul>{% endif %}
</li>
<li>{{ works.yesterday.count }} were added yesterday.
</li>
<li>{{ works.days7.count }} have been added in the past 7 days.
</li>
<li>{{ works.month.count }} have been added in this month.
</li>
<li>{{ works.all.count }} have been added in total.
</li>
</ul>
</dd>
<dt> How often have the works been listed?</dt>
<dd>
2012-03-21 15:34:00 +00:00
<ul class="terms">
<li>{{ works.wishedby50.count }} have been listed by more than 50 ungluers.
</li>
<li>{{ works.wishedby20.count }} have been listed by more than 20 ungluers.
</li>
<li>{{ works.wishedby10.count }} have been listed by more than 10 ungluers.
</li>
<li>{{ works.wishedby5.count }} have been listed by more than 5 ungluers.
</li>
<li>{{ works.wishedby2.count }} have been listed by more than 2 ungluers.
</li>
</ul>
</dd>
</dl>
<h2>Ebooks</h2>
<dl>
<dt> How many ebooks have been added to Unglue.it?</dt>
<dd>
2012-03-21 15:34:00 +00:00
<ul class="terms">
<li>{{ ebooks.today.count }} have been added today. {% if ebooks.today.count %}They are
2012-03-21 15:34:00 +00:00
<ul class="terms">{% for ebook in ebooks.today %}
<li><a href="{% url work ebook.edition.work.id %}">{{ebook.edition.work.title}}</a></li>
{% endfor %}</ul>{% endif %}
</li>
<li>{{ ebooks.yesterday.count }} were added yesterday.
</li>
<li>{{ ebooks.days7.count }} have been added in the past 7 days.
</li>
<li>{{ ebooks.month.count }} have been added in this month.
</li>
<li>{{ ebooks.all.count }} have been added in total.
</li>
</ul>
</dd>
</dl>
<h2>Pledges</h2>
<dl>
<dt>How much has been pledged to Unglue.it?</dt>
2012-12-06 20:31:32 +00:00
<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 %}