Mercurial > public > sg101
view gpp/templates/core/admin_dashboard.html @ 445:e9f203c5f5bb
Attempting to fix #218; update the topic last visit time with 'now' when viewing the last page of a topic, otherwise use the creation time of the last post on the page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 08 Jun 2011 00:24:41 +0000 |
parents | b4305e18d3af |
children |
line wrap: on
line source
{% if user.is_staff %} {% if flagged_posts or flagged_comments or flagged_profiles or event_requests or new_stories or new_downloads or new_links or flagged_shouts or broken_links %} <ul id="dashboard-list"> {% if flagged_posts %} <li><a href="/admin/forums/flaggedpost/">Posts</a>: {{ flagged_posts }}</li> {% endif %} {% if flagged_comments %} <li><a href="/admin/comments/commentflag/">Comments</a>: {{ flagged_comments }}</li> {% endif %} {% if flagged_shouts %} <li><a href="/admin/shoutbox/shoutflag/">Shouts</a>: {{ flagged_shouts }}</li> {% endif %} {% if flagged_profiles %} <li><a href="/admin/bio/userprofileflag/">Profiles</a>: {{ flagged_profiles }}</li> {% endif %} {% if event_requests %} <li><a href="/admin/gcalendar/event/">Calendar</a>: {{ event_requests }}</li> {% endif %} {% if new_stories %} <li><a href="/admin/news/pendingstory/">News</a>: {{ new_stories }}</li> {% endif %} {% if new_downloads %} <li><a href="/admin/downloads/pendingdownload/">Downloads</a>: {{ new_downloads }}</li> {% endif %} {% if new_links %} <li><a href="/admin/weblinks/pendinglink/">New Links</a>: {{ new_links }}</li> {% endif %} {% if broken_links %} <li><a href="/admin/weblinks/flaggedlink/">Broken Links</a>: {{ broken_links }}</li> {% endif %} </ul> {% endif %} {% endif %}