source: trunk/templates/admin_home.tt @ 824

Last change on this file since 824 was 824, checked in by nick, 15 years ago

Missing metadata support

File size: 2.0 KB
RevLine 
[822]1[% INCLUDE header.tt page_title = "Admin - $site_name" %]
2[% INCLUDE banner.tt %]
3<div id="content">
4[% INCLUDE navbar.tt %]
5<div id="maincontent">
6<h2>Site Administration</h2>
7<ul>
8        <li><a href="#nodes">Nodes</a></li>
9        <li><a href="#locales">Locales</a></li>
10        <li><a href="#categories">Categories</a></li>
[824]11        <li><a href="?action=show_needing_moderation">Pages Needing Moderation</a>
12        <li><a href="?action=show_missing_metadata">Pages Missing Metadata</a>
[822]13</ul>
14
15<a name="nodes"></a>
16<table id="nodes">
17<tr><th>Node name</th><th>Current Version</th><th>Moderation</th><th>Actions</th></tr>
18  [% FOREACH node = nodes %]
19     <tr>
20     <td><a href="[% node.view_url %]">[% node.name %]</a></td>
21     <td>[% node.version %]</td>
22     <td>[% node.moderate %]</td>
23     <td><a href="[% node.view_url %]">View</a> or
24                 <a href="[% node.versions_url %]">View all versions</a> or
25                 <a href="[% node.moderation_url %]">Set Moderation</a>
26     </td>
27     </tr>
28  [% END %]
29</table>
30
31<br /><br />
32
33<a name="locales"></a>
34<table id="locales">
35<tr><th>Locale name</th><th>Current Version</th><th>Moderation</th><th>Actions</th></tr>
36  [% FOREACH locale = locales %]
37     <tr>
38     <td><a href="[% locale.view_url %]">[% locale.name %]</a></td>
39     <td>[% locale.version %]</td>
40     <td>[% locale.moderate %]</td>
41     <td><a href="[% locale.view_url %]">View</a> or
42                 <a href="[% locale.versions_url %]">View all versions</a> or
43                 <a href="[% locale.moderation_url %]">Set Moderation</a>
44     </td>
45     </tr>
46  [% END %]
47</table>
48
49<br /><br />
50
51<a name="categories"></a>
52<table id="categories">
53<tr><th>Category name</th><th>Current Version</th><th>Moderation</th><th>Actions</th></tr>
54  [% FOREACH cat = categories %]
55     <tr>
56     <td><a href="[% cat.view_url %]">[% cat.name %]</a></td>
57     <td>[% cat.version %]</td>
58     <td>[% cat.moderate %]</td>
59     <td><a href="[% cat.view_url %]">View</a> or
60                 <a href="[% cat.versions_url %]">View all versions</a> or
61                 <a href="[% cat.moderation_url %]">Set Moderation</a>
62     </td>
63     </tr>
64  [% END %]
65</table>
66
67</div>
68[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the repository browser.