Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
164:f7a6b8fe4556 | 165:952e05cb3d80 |
---|---|
1 {% if user.is_staff %} | 1 {% if user.is_staff %} |
2 {% if flagged_posts or flagged_comments or flagged_profiles or event_requests or new_stories or new_downloads or new_links or flagged_shouts %} | 2 {% 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 %} |
3 <ul id="dashboard-list"> | 3 <ul id="dashboard-list"> |
4 {% if flagged_posts %} | 4 {% if flagged_posts %} |
5 <li><a href="/admin/forums/flaggedpost/">Posts</a>: {{ flagged_posts }}</li> | 5 <li><a href="/admin/forums/flaggedpost/">Posts</a>: {{ flagged_posts }}</li> |
6 {% endif %} | 6 {% endif %} |
7 {% if flagged_comments %} | 7 {% if flagged_comments %} |
21 {% endif %} | 21 {% endif %} |
22 {% if new_downloads %} | 22 {% if new_downloads %} |
23 <li><a href="/admin/downloads/download/">Downloads</a>: {{ new_downloads }}</li> | 23 <li><a href="/admin/downloads/download/">Downloads</a>: {{ new_downloads }}</li> |
24 {% endif %} | 24 {% endif %} |
25 {% if new_links %} | 25 {% if new_links %} |
26 <li><a href="/admin/weblinks/link/">Links</a>: {{ new_links }}</li> | 26 <li><a href="/admin/weblinks/link/">New Links</a>: {{ new_links }}</li> |
27 {% endif %} | |
28 {% if broken_links %} | |
29 <li><a href="/admin/weblinks/flaggedlink/">Broken Links</a>: {{ broken_links }}</li> | |
27 {% endif %} | 30 {% endif %} |
28 </ul> | 31 </ul> |
29 {% endif %} | 32 {% endif %} |
30 {% endif %} | 33 {% endif %} |