]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/admin-planet.html
new donation page with basic styling.
[people/shoehn/ipfire.org.git] / templates / admin-planet.html
CommitLineData
66862195 1{% extends "base.html" %}
feb02477 2
66862195 3{% block body %}
feb02477
MT
4 <div id="post">
5 <h3>{{ _("Planet Administrator") }}</h3>
60024cc8 6
feb02477
MT
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>
67ab72b8 19 <td>
66862195 20 {{ entry.author.name }}
67ab72b8
MT
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>
feb02477
MT
34 </tr>
35 {% end %}
36 </table>
37 </div>
38{% end %}