in metrics, give better info on new users
parent
abfbc4101c
commit
84d1410f1c
|
@ -1,4 +1,5 @@
|
||||||
{% extends "basedocumentation.html" %}
|
{% extends "basedocumentation.html" %}
|
||||||
|
{% load humanize %}
|
||||||
{% block title %} Metrics {% endblock %}
|
{% block title %} Metrics {% endblock %}
|
||||||
{% block doccontent %}
|
{% block doccontent %}
|
||||||
|
|
||||||
|
@ -9,11 +10,15 @@
|
||||||
<ul class="terms">
|
<ul class="terms">
|
||||||
<li>{{ users.today.count }} have registered today. {% if users.today.count %}They are
|
<li>{{ users.today.count }} have registered today. {% if users.today.count %}They are
|
||||||
<ul class="terms">{% for user in users.today %}
|
<ul class="terms">{% for user in users.today %}
|
||||||
<li><a href="{% url supporter user.username %}">{{user.username}}</a></li>
|
<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 %}
|
{% endfor %}</ul>{% endif %}
|
||||||
<br />{{ wishlists.today.count }} of them have 1 or more items on a wishlist.
|
<br />{{ wishlists.today.count }} of them have 1 or more items on a wishlist.
|
||||||
</li>
|
</li>
|
||||||
<li>{{ users.yesterday.count }} registered yesterday.
|
<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 %}
|
||||||
|
|
||||||
<br />{{ wishlists.yesterday.count }} of them have 1 or more items on a wishlist.
|
<br />{{ wishlists.yesterday.count }} of them have 1 or more items on a wishlist.
|
||||||
</li>
|
</li>
|
||||||
<li>{{ users.days7.count }} have registered in the past 7 days.
|
<li>{{ users.days7.count }} have registered in the past 7 days.
|
||||||
|
@ -57,6 +62,8 @@
|
||||||
<dt> How often have the works been listed?</dt>
|
<dt> How often have the works been listed?</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<ul class="terms">
|
<ul class="terms">
|
||||||
|
<li>{{ works.wishedby100.count }} have been listed by more than 100 ungluers.
|
||||||
|
</li>
|
||||||
<li>{{ works.wishedby50.count }} have been listed by more than 50 ungluers.
|
<li>{{ works.wishedby50.count }} have been listed by more than 50 ungluers.
|
||||||
</li>
|
</li>
|
||||||
<li>{{ works.wishedby20.count }} have been listed by more than 20 ungluers.
|
<li>{{ works.wishedby20.count }} have been listed by more than 20 ungluers.
|
||||||
|
|
Loading…
Reference in New Issue