Mercurial > public > sg101
view gpp/templates/podcast/base.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 | dbd703f7d63a |
children | 7fdfc9b3c71a |
line wrap: on
line source
{% extends 'base.html' %} {% block content %} <h2>SurfGuitar101 Podcast</h2> <img src="{{ channel.image.url }}" alt="Podcast Logo" style="float: left; margin-right:10px;" /> <p> Welcome to the <strong>Surfguitar101 Podcast</strong>! The podcast started as an experiment just to see what it took to create a podcast. The reaction was very positive so hopefully we will start seeing new episodes on a semi-regular basis. You can download the podcast episodes here and we are also listed in iTunes. </p> <p> Please discuss the podcasts in our Podcast forum. We'd love to hear your suggestions, and let us know if you would like to help in any way. We need producers, interviewers, artwork, etc. you name it. Thanks! </p> <p> In addition to the forum, you can contact us by email at <a href="mailto:podcast@surfguitar101.com">podcast@surfguitar101.com</a>. </p> <p> Subscribe to the podcast via RSS: <a href="{% url podcast.views.feed %}">Feed</a> </p> <br clear="all" /> <hr /> {% block podcast-content %}{% endblock %} {% endblock %}