]> git.ipfire.org Git - ipfire.org.git/blob - templates/admin-planet.html
c40118d1c043bdddbec3da69c7c597c08d32266f
[ipfire.org.git] / templates / admin-planet.html
1 {% extends "base.html" %}
2
3 {% block body %}
4 <div id="post">
5 <h3>{{ _("Planet Administrator") }}</h3>
6
7 <p>
8 <a href="/planet/compose">{{ _("Compose new entry") }}</a>
9 </p>
10
11 <table>
12 <tr>
13 <th>{{ _("Author") }}</th>
14 <th>{{ _("Title") }}</th>
15 <th>&nbsp;</th>
16 </tr>
17 {% for entry in entries %}
18 <tr>
19 <td>
20 {{ entry.author.name }}
21 </td>
22 <td>
23 <a href="http://planet.ipfire.org/post/{{ entry.slug }}" target="_blank">{{ entry.title }}</a>
24 {% if entry.is_draft() %}
25 <span class="label label-warning">{{ _("Draft") }}</span>
26 {% end %}
27 </td>
28 <td>
29 <a href="/planet/edit/{{ entry.slug }}">{{ _("Edit") }}</a>
30 {% if entry.is_draft() %}
31 &bull; <a href="/planet/publish/{{ entry.slug }}">{{ _("Publish") }}</a>
32 {% end %}
33 </td>
34 </tr>
35 {% end %}
36 </table>
37 </div>
38 {% end %}