| 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 | [% IF completed_action %] |
|---|
| 7 | <br /> |
|---|
| 8 | <div class="admin_completed_action">[% completed_action %]</div> |
|---|
| 9 | [% END %] |
|---|
| 10 | <h2>Site Administration</h2> |
|---|
| 11 | <ul> |
|---|
| 12 | <li><a href="#nodes">Recent nodes</a></li> |
|---|
| 13 | <li><a href="#locales">Recent locales</a></li> |
|---|
| 14 | <li><a href="#categories">Recent categories</a></li> |
|---|
| 15 | <li><a href="[% cgi_url %]?action=show_needing_moderation">Pages needing moderation</a> |
|---|
| 16 | <li><a href="[% cgi_url %]?action=show_missing_metadata">Pages missing metadata</a> |
|---|
| 17 | </ul> |
|---|
| 18 | |
|---|
| 19 | <p>The lists below show the 100 most recently modified nodes.</p> |
|---|
| 20 | |
|---|
| 21 | <a name="nodes"></a> |
|---|
| 22 | <table id="nodes"> |
|---|
| 23 | <tr><th>Node name</th><th>Current Version</th><th>Last modified</th><th>Moderation</th><th>Actions</th></tr> |
|---|
| 24 | [% FOREACH node = nodes %] |
|---|
| 25 | <tr> |
|---|
| 26 | <td class="admin_name"><a href="[% node.view_url %]">[% node.name %]</a></td> |
|---|
| 27 | <td class="admin_version">[% node.version %]</td> |
|---|
| 28 | <td class="admin_lastmode">[% node.last_modified %]</td> |
|---|
| 29 | <td class="admin_moderate">[% IF node.moderate %]yes[% ELSE %]no[% END %]</td> |
|---|
| 30 | <td class="admin_action"> |
|---|
| 31 | <a href="[% node.versions_url %]">View all versions</a> or |
|---|
| 32 | <a href="[% node.moderation_url %]">Set moderation</a> |
|---|
| 33 | </td> |
|---|
| 34 | </tr> |
|---|
| 35 | [% END %] |
|---|
| 36 | </table> |
|---|
| 37 | |
|---|
| 38 | <br /><br /> |
|---|
| 39 | |
|---|
| 40 | <a name="locales"></a> |
|---|
| 41 | <table id="locales"> |
|---|
| 42 | <tr><th>Locale name</th><th>Current Version</th><th>Last modified</th><th>Moderation</th><th>Actions</th></tr> |
|---|
| 43 | [% FOREACH locale = locales %] |
|---|
| 44 | <tr> |
|---|
| 45 | <td class="admin_name"><a href="[% locale.view_url %]">[% locale.name %]</a></td> |
|---|
| 46 | <td class="admin_version">[% locale.version %]</td> |
|---|
| 47 | <td class="admin_lastmode">[% locale.last_modified %]</td> |
|---|
| 48 | <td class="admin_moderate">[% IF locale.moderate %]yes[% ELSE %]no[% END %]</td> |
|---|
| 49 | <td class="admin_action"> |
|---|
| 50 | <a href="[% locale.versions_url %]">View all versions</a> or |
|---|
| 51 | <a href="[% locale.moderation_url %]">Set moderation</a> |
|---|
| 52 | </td> |
|---|
| 53 | </tr> |
|---|
| 54 | [% END %] |
|---|
| 55 | </table> |
|---|
| 56 | |
|---|
| 57 | <br /><br /> |
|---|
| 58 | |
|---|
| 59 | <a name="categories"></a> |
|---|
| 60 | <table id="categories"> |
|---|
| 61 | <tr><th>Category name</th><th>Current Version</th><th>Last modified</th><th>Moderation</th><th>Actions</th></tr> |
|---|
| 62 | [% FOREACH cat = categories %] |
|---|
| 63 | <tr> |
|---|
| 64 | <td class="admin_name"><a href="[% cat.view_url %]">[% cat.name %]</a></td> |
|---|
| 65 | <td class="admin_version">[% cat.version %]</td> |
|---|
| 66 | <td class="admin_lastmode">[% cat.last_modified %]</td> |
|---|
| 67 | <td class="admin_moderate">[% IF cat.moderate %]yes[% ELSE %]no[% END %]</td> |
|---|
| 68 | <td class="admin_action"> |
|---|
| 69 | <a href="[% cat.versions_url %]">View all versions</a> or |
|---|
| 70 | <a href="[% cat.moderation_url %]">Set moderation</a> |
|---|
| 71 | </td> |
|---|
| 72 | </tr> |
|---|
| 73 | [% END %] |
|---|
| 74 | </table> |
|---|
| 75 | |
|---|
| 76 | </div> |
|---|
| 77 | [% INCLUDE footer.tt %] |
|---|