<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>socialdict/templates/socialdict/totals_snippet.html</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -11,8 +11,14 @@ def render_latest_socialdict_terms(num):
 @register.inclusion_tag('socialdict/alphabet_snippet.html')
 def render_socialdict_alphabet():
     alphabet = Term.objects.values_list('alphabet_letter', flat=True).distinct()
-    alphabet_list = [] 
+    alphabet_list = []
     for letter in alphabet:
         letter_count = Term.objects.filter(alphabet_letter=letter).count()
         alphabet_list.append({ 'letter': letter, 'count': letter_count })
     return { 'alphabet': alphabet_list }
+
+@register.inclusion_tag('socialdict/totals_snippet.html')
+def render_socialdict_totals():
+    term_count = Term.objects.all().count()
+    author_count = Term.objects.values('social_user').distinct().count()
+    return { 'term_count': term_count, 'author_count': author_count }</diff>
      <filename>socialdict/templatetags/socialdict_tags.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0dc2c848ce662fc0af64ed7425890e1728cb96ab</id>
    </parent>
  </parents>
  <author>
    <name>julen</name>
    <email>julen@deeebian.(none)</email>
  </author>
  <url>http://github.com/julen/django-socialdict/commit/d54918856fc571284ffe6a97fe756517d2ef2b0f</url>
  <id>d54918856fc571284ffe6a97fe756517d2ef2b0f</id>
  <committed-date>2009-11-02T09:21:59-08:00</committed-date>
  <authored-date>2009-11-02T09:21:59-08:00</authored-date>
  <message>Add template tag for displaying simple total statistics.</message>
  <tree>1e5367b3e951f8a5d723873a68c13759bf34dbb5</tree>
  <committer>
    <name>julen</name>
    <email>julen@deeebian.(none)</email>
  </committer>
</commit>
