tidy lists in metric page

pull/1/head
eric 2012-03-21 11:34:00 -04:00
parent 9629e23b21
commit 6e9f0ee669
1 changed files with 8 additions and 8 deletions

View File

@ -6,9 +6,9 @@
<dl>
<dt> How many ungluers have registered?</dt>
<dd>
<ul>
<ul class="terms">
<li>{{ users.today.count }} have registered today. {% if users.today.count %}They are
<ul>{% for user in users.today %}
<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.
@ -26,7 +26,7 @@
<br />{{ wishlists.all.count }} of them have 1 or more items on a wishlist.
</li>
</ul>
<ul>
<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>
@ -38,9 +38,9 @@
<dl>
<dt> How many works have been added to Unglue.it?</dt>
<dd>
<ul>
<ul class="terms">
<li>{{ works.today.count }} have been added today. {% if works.today.count %}They are
<ul>{% for work in works.today %}
<ul class="terms">{% for work in works.today %}
<li><a href="{% url work work.id %}">{{work.title}}</a></li>
{% endfor %}</ul>{% endif %}
</li>
@ -56,7 +56,7 @@
</dd>
<dt> How often have the works been wished?</dt>
<dd>
<ul>
<ul class="terms">
<li>{{ works.wishedby50.count }} have been wished by more than 50 ungluers.
</li>
<li>{{ works.wishedby20.count }} have been wished by more than 20 ungluers.
@ -74,9 +74,9 @@
<dl>
<dt> How many ebooks have been added to Unglue.it?</dt>
<dd>
<ul>
<ul class="terms">
<li>{{ ebooks.today.count }} have been added today. {% if ebooks.today.count %}They are
<ul>{% for ebook in ebooks.today %}
<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>