summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-10 21:04:05 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-10 21:04:05 +0100
commit252095da751cc09dcbfeadbcfac15b148d279898 (patch)
tree52c2d41dfe28def323720646cb2de0a557cd325d /templates
parent559777bb473f27fb0d6ec7e739856386e07fee62 (diff)
Add a table of all journal articles to the journal archive page.
Diffstat (limited to 'templates')
-rw-r--r--templates/journal_page.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/journal_page.html b/templates/journal_page.html
index 037146d..d567d2f 100644
--- a/templates/journal_page.html
+++ b/templates/journal_page.html
@@ -12,4 +12,30 @@
{@|article-html}
{.end}
</div>
+
+ {.section minor-articles}
+ <div class="old-entries">
+ <h2>&#196;ltere Eintr&#228;ge</h2>
+ <p><a href="{full-archive-link|html-attr-value}" rel="archives">{full-archive-label|html}</a></p>
+ <table class="old-entry-table">
+ <caption>Eintr&#228;ge nach Datum</caption>
+ <thead>
+ <tr>
+ <th scope="col">Titel</th>
+ <th scope="col">Datum</th>
+ <th scope="col">Kommentare</th>
+ </tr>
+ </thead>
+ <tbody>
+ {.repeated section @}
+ <tr>
+ <td><a href="{link|html-attr-value}">{title|html}</a></td>
+ <td style="text-align: right">{publishing-date|html-short-human-date}</td>
+ <td><a href="{comments-link|html-attr-value}">{comments-label|html}</a></td>
+ </tr>
+ {.end}
+ </tbody>
+ </table>
+ </div>
+ {.end}
{.end}