1. Rufus Pollock
  2. community-pinax

Source

community-pinax / apps / basic_groups / templates / basic_groups / base.html

{% extends "site_base.html" %}

{% load i18n %}

{% block body_class %}groups{% endblock %}

{% block extra_head %}
<link rel="stylesheet" href="{{ STATIC_URL }}basic_groups/css/basic_groups.css" />
{% endblock %}

{% block subnav %}
    <ul>
        {% if user.is_authenticated %}
            <li><a href="{% url group_create %}">{% trans "Create a Group" %}</a></li>
            <li><a href="{% url your_groups %} ">{% trans "Your Groups" %}</a></li>
        {% endif %}
        <li><a href="{% url group_list %}">{% trans "All Groups" %}</a></li>
    </ul>
{% endblock %}