Mercurial > public > sg101
view 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 |
line wrap: on
line source
<a href="#" id="more_smileys_link"> <img src="{{ MEDIA_URL }}icons/emoticon_smile.png" alt="More smileys" title="More smileys" /></a> <a href="#" id="markdown_help_link"> <img src="{{ MEDIA_URL }}icons/help.png" alt="Help" title="Help" /></a> <div id="smileys_dialog_popup" title="More Smileys"> <img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="smiley_busy" /> </div> <div id="markdown_help_dialog_popup" title="Markdown Help"> <img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="markdown_busy" /> </div>