annotate gpp/templates/core/admin_dashboard.html @ 149:ab7830b067b3

Implement ticket #40. Added a simple way to search for usernames and then view their profile. Moved this ajax username search feature out of the messages app and into core.
author Brian Neal <bgneal@gmail.com>
date Mon, 14 Dec 2009 05:07:28 +0000
parents 023132c90021
children e1d1a70d312d
rev   line source
bgneal@145 1 {% if user.is_staff %}
bgneal@146 2 {% if flagged_posts or flagged_comments or flagged_profiles or event_requests or new_stories or new_downloads or new_links %}
bgneal@141 3 <ul id="dashboard-list">
bgneal@146 4 {% if flagged_posts %}
bgneal@146 5 <li><a href="/admin/forums/flaggedpost/">Posts</a>: {{ flagged_posts }}</li>
bgneal@146 6 {% endif %}
bgneal@146 7 {% if flagged_comments %}
bgneal@146 8 <li><a href="/admin/comments/commentflag/">Comments</a>: {{ flagged_comments }}</li>
bgneal@146 9 {% endif %}
bgneal@146 10 {% if flagged_profiles %}
bgneal@146 11 <li><a href="/admin/bio/userprofileflag/">Profiles</a>: {{ flagged_profiles }}</li>
bgneal@146 12 {% endif %}
bgneal@146 13 {% if event_requests %}
bgneal@146 14 <li><a href="/admin/gcalendar/event/">Calendar</a>: {{ event_requests }}</li>
bgneal@146 15 {% endif %}
bgneal@146 16 {% if new_stories %}
bgneal@146 17 <li><a href="/admin/news/pendingstory/">News</a>: {{ new_stories }}</li>
bgneal@146 18 {% endif %}
bgneal@146 19 {% if new_downloads %}
bgneal@146 20 <li><a href="/admin/downloads/download/">Downloads</a>: {{ new_downloads }}</li>
bgneal@146 21 {% endif %}
bgneal@146 22 {% if new_links %}
bgneal@146 23 <li><a href="/admin/weblinks/link/">Links</a>: {{ new_links }}</li>
bgneal@146 24 {% endif %}
bgneal@141 25 </ul>
bgneal@145 26 {% endif %}
bgneal@146 27 {% endif %}