annotate gpp/templates/core/comment_dialogs.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 5b69d6e01fd4
children 88b2b9cb8c1f
rev   line source
bgneal@131 1 <a href="#" id="more_smileys_link">
bgneal@131 2 <img src="{{ MEDIA_URL }}icons/emoticon_smile.png" alt="More smileys" title="More smileys" /></a>
bgneal@131 3 <a href="#" id="markdown_help_link">
bgneal@131 4 <img src="{{ MEDIA_URL }}icons/help.png" alt="Help" title="Help" /></a>
bgneal@131 5 <div id="smileys_dialog_popup" title="More Smileys">
bgneal@131 6 <img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="smiley_busy" />
bgneal@131 7 </div>
bgneal@131 8 <div id="markdown_help_dialog_popup" title="Markdown Help">
bgneal@131 9 <img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="markdown_busy" />
bgneal@131 10 </div>