Mercurial > public > sg101
diff gpp/templates/core/admin_dashboard.html @ 165:952e05cb3d80
Implement #49; use POST for updating link hit counts. Also refactored a bit and use javascript to report broken links.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 03 Jan 2010 04:15:14 +0000 |
parents | e1d1a70d312d |
children | b4305e18d3af |
line wrap: on
line diff
--- a/gpp/templates/core/admin_dashboard.html Mon Dec 28 16:52:42 2009 +0000 +++ b/gpp/templates/core/admin_dashboard.html Sun Jan 03 04:15:14 2010 +0000 @@ -1,5 +1,5 @@ {% 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 %} +{% 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> @@ -23,7 +23,10 @@ <li><a href="/admin/downloads/download/">Downloads</a>: {{ new_downloads }}</li> {% endif %} {% if new_links %} -<li><a href="/admin/weblinks/link/">Links</a>: {{ new_links }}</li> +<li><a href="/admin/weblinks/link/">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 %}