{% extends "base_user.html" %} {% load cache core_tags %} {% load static from staticfiles %} {% block feeds %}{% endblock %} {% block title %}Snippets by {{ author.username }}{% if months %}, last {{ months }} months{% endif %}{% endblock %} {% block content_header %}Snippets by {{ author.username }}{% if months %}, last {{ months }} months{% endif %}{% endblock %} {% block content %} {% if object_list %}

{% if has_previous %} < Previous {{ results_per_page }} {% endif %}    {% if has_next %} Next {{ results_per_page }} > {% endif %}

{% else %}

No snippets posted yet.

{% endif %} {% endblock %} {% block sidebar %} {% cache 600 author_detail_sidebar author.username %}

{% ifequal request.user author %}You've{% else %}{{ author.username }} has{% endifequal %} posted {{ author.snippet_set.count }} snippet{{ author.snippet_set.count|pluralize }}.

Feed of snippets by {{ author.username }}

The users who've submitted the most snippets are:

    {% for author in "cab.snippet"|call_manager:"top_authors"|slice:":5" %}
  1. {{ author.username }}
  2. {% endfor %}
{% endcache %} {% endblock %}