annotate gpp/templates/shoutbox/missing_shout.html @ 145:71cb4208dc98

Tweak to #30, admin dashboard. Because of a bug in Django (9568), my dashboard appears on the login page. To get around this, pass in the user to the templatetag, so it can do a 'if user.is_staff' check. Also tweaked the HTML and CSS to show non-zero pending items in red. Shortened the pending item titles for readability.
author Brian Neal <bgneal@gmail.com>
date Wed, 09 Dec 2009 00:03:10 +0000
parents 777451a98f9d
children f9a9b4014d5b
rev   line source
bgneal@13 1 {% extends 'base.html' %}
bgneal@13 2 {% block title %}Shout Not Found{% endblock %}
bgneal@13 3 {% block content %}
bgneal@13 4 <div class="breadcrumbs"><a href="{% url shoutbox-history page=1 %}">Shoutbox History</a> &raquo; Shout Not Found</div>
bgneal@13 5 <h2>Shout Not Found</h2>
bgneal@13 6 <p>We're sorry, it looks like that shout no longer exists.</p>
bgneal@13 7 {% endblock %}