2012-03-08 03:06:30 +00:00
{% extends "basedocumentation.html" %}
2013-12-17 05:19:56 +00:00
{% load humanize %}
2012-03-08 03:06:30 +00:00
{% 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" >
2012-03-09 17:01:25 +00:00
< 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 %}
2013-12-17 05:19:56 +00:00
< li > < a href = "{% url supporter user.username %}" > {{user.username}}< / a > {% if user.is_active %} ( {{ user.wishlist.works.count }} wishes) {% if user.library %}{{user.library}}{% endif %}{% endif %}< / li >
2012-03-09 17:01:25 +00:00
{% endfor %}< / ul > {% endif %}
2012-03-08 03:06:30 +00:00
< br / > {{ wishlists.today.count }} of them have 1 or more items on a wishlist.
< / li >
2013-12-17 05:19:56 +00:00
< li > {{ users.yesterday.count }} registered yesterday.{% if users.today.count %}They are
< ul class = "terms" > {% for user in users.yesterday %}
< li > < a href = "{% url supporter user.username %}" > {{user.username}}< / a > {% if user.is_active %} ( {{ user.wishlist.works.count }} wishes) {% if user.library %}{{user.library}}{% endif %}{% endif %}< / li >
{% endfor %}< / ul > {% endif %}
2012-03-13 03:34:10 +00:00
< br / > {{ wishlists.yesterday.count }} of them have 1 or more items on a wishlist.
< / li >
2012-03-08 03:06:30 +00:00
< li > {{ users.days7.count }} have registered in the past 7 days.
2013-08-18 22:10:25 +00:00
< br / > {{ wishlists.days7.count }} of them have 1 or more items on a list.
2012-03-08 03:06:30 +00:00
< / li >
< li > {{ users.month.count }} have registered in this month.
2013-08-18 22:10:25 +00:00
< br / > {{ wishlists.month.count }} of them have 1 or more items on a list.
2012-03-08 03:06:30 +00:00
< / li >
< li > {{ users.all.count }} have registered in total.
2013-08-18 22:10:25 +00:00
< br / > {{ wishlists.all.count }} of them have 1 or more items on a list.
2012-03-08 03:06:30 +00:00
< / li >
< / ul >
2012-03-21 15:34:00 +00:00
< ul class = "terms" >
2012-03-13 03:34:10 +00:00
< 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 >
2012-03-08 03:06:30 +00:00
< / 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" >
2012-03-09 17:01:25 +00:00
< 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 %}
2012-03-08 03:06:30 +00:00
< li > < a href = "{% url work work.id %}" > {{work.title}}< / a > < / li >
2012-03-09 17:01:25 +00:00
{% endfor %}< / ul > {% endif %}
2012-03-08 03:06:30 +00:00
< / li >
2012-03-13 03:34:10 +00:00
< li > {{ works.yesterday.count }} were added yesterday.
< / li >
2012-03-08 03:06:30 +00:00
< 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 >
2014-02-20 04:16:28 +00:00
< dt > How often have the works been faved?< / dt >
2012-03-08 03:06:30 +00:00
< dd >
2012-03-21 15:34:00 +00:00
< ul class = "terms" >
2014-02-20 04:16:28 +00:00
< li > {{ works.wishedby100.count }} have been faved by more than 100 ungluers.
2013-12-17 05:19:56 +00:00
< / li >
2014-02-20 04:16:28 +00:00
< li > {{ works.wishedby50.count }} have been faved by more than 50 ungluers.
2012-03-08 03:06:30 +00:00
< / li >
2014-02-20 04:16:28 +00:00
< li > {{ works.wishedby20.count }} have been faved by more than 20 ungluers.
2012-03-08 03:06:30 +00:00
< / li >
2014-02-20 04:16:28 +00:00
< li > {{ works.wishedby10.count }} have been faved by more than 10 ungluers.
2012-03-08 03:06:30 +00:00
< / li >
2014-02-20 04:16:28 +00:00
< li > {{ works.wishedby5.count }} have been faved by more than 5 ungluers.
2012-03-08 03:06:30 +00:00
< / li >
2014-02-20 04:16:28 +00:00
< li > {{ works.wishedby2.count }} have been faved by more than 2 ungluers.
2012-03-08 03:06:30 +00:00
< / 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" >
2012-03-09 17:01:25 +00:00
< 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 %}
2012-03-08 03:06:30 +00:00
< li > < a href = "{% url work ebook.edition.work.id %}" > {{ebook.edition.work.title}}< / a > < / li >
2012-03-09 17:01:25 +00:00
{% endfor %}< / ul > {% endif %}
2012-03-08 03:06:30 +00:00
< / li >
2012-03-13 03:34:10 +00:00
< li > {{ ebooks.yesterday.count }} were added yesterday.
< / li >
2012-03-08 03:06:30 +00:00
< 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 >
2014-02-25 19:47:16 +00:00
< h2 > Ebook Files< / h2 >
< dd >
< ul class = "terms" >
< li > {{ ebookfiles.today.count }} have been added today. < / li >
< li > {{ ebookfiles.yesterday.count }} were added yesterday.
< / li >
< li > {{ ebookfiles.days7.count }} have been added in the past 7 days.{% if request.user.is_staff %}
< ul class = "terms" > {% for ebook_file in ebookfiles.days7 %}
< li > {{ebook_file.edition.work.title}}: < a href = "{{ebook_file.file.url}}" > {{ebook_file.file}}< / a > created {{ebook_file.created}}< / li >
{% endfor %}< / ul > {% endif %}
< / li >
< li > {{ ebookfiles.month.count }} have been added in this month.
< / li >
< li > {{ ebookfiles.all.count }} have been added in total.
< / li >
< / ul >
< / dd >
< / dl >
2012-03-08 03:06:30 +00:00
2012-12-06 16:42:02 +00:00
< 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 >
2012-12-06 16:42:02 +00:00
< 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 >
2012-03-08 03:06:30 +00:00
{% endblock %}