summaryrefslogtreecommitdiffstats
path: root/extra_plugins/command_planetoid/index.tmpl
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2013-02-27 09:13:24 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2013-02-27 09:13:24 -0300
commit878ba1152ebc64a4a2609d23c9e400a6111db642 (patch)
tree7672c12a59dbab1864606109e4f2b1dd7534043c /extra_plugins/command_planetoid/index.tmpl
parenta40930043121a4b60de8526d58417761a54ab718 (diff)
Imported Upstream version 5.3upstream/5.3
Diffstat (limited to 'extra_plugins/command_planetoid/index.tmpl')
-rw-r--r--extra_plugins/command_planetoid/index.tmpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra_plugins/command_planetoid/index.tmpl b/extra_plugins/command_planetoid/index.tmpl
new file mode 100644
index 0000000..da9ff5d
--- /dev/null
+++ b/extra_plugins/command_planetoid/index.tmpl
@@ -0,0 +1,26 @@
+## -*- coding: utf-8 -*-
+<%inherit file="base.tmpl"/>
+<%block name="content">
+ % for post in posts:
+ <div style="border: 2px solid darkgrey; margin-bottom: 12px; border-radius: 4px; padding:12px; overflow: auto;">
+ <a href="${post.link}"><h1>${post.title(lang)}</a>
+ <small>&nbsp;&nbsp;
+ Publicado: ${post.date}
+ </small></h1>
+ ${post.text(lang)}
+ </div>
+ % endfor
+ <div>
+<ul class="pager">
+ %if prevlink:
+ <li class="previous">
+ <a href="${prevlink}">&larr; Posts posteriores</a>
+ </li>
+ %endif
+ %if nextlink:
+ <li class="next">
+ <a href="${nextlink}">Posts anteriores &rarr;</a>
+ </li>
+ %endif
+</ul>
+</%block>