Mercurial > public > sg101
annotate gpp/templates/forums/new_topic_thanks.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 | 5b4c812b448e |
children | 593fb6dbd449 |
rev | line source |
---|---|
bgneal@83 | 1 {% extends 'base.html' %} |
bgneal@83 | 2 {% block title %}Forums: New Topic Created{% endblock %} |
bgneal@83 | 3 {% block content %} |
bgneal@83 | 4 <h2>Forums: {{ forum.name }} - New Topic Created</h2> |
bgneal@83 | 5 |
bgneal@83 | 6 <h3> |
bgneal@83 | 7 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » |
bgneal@83 | 8 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> |
bgneal@83 | 9 </h3> |
bgneal@83 | 10 |
bgneal@83 | 11 <p> |
bgneal@83 | 12 New topic created successfully. |
bgneal@83 | 13 Click <a href="{{ topic.get_absolute_url }}">here</a> to view your new topic. |
bgneal@83 | 14 </p> |
bgneal@83 | 15 |
bgneal@83 | 16 {% endblock %} |