aboutsummaryrefslogtreecommitdiffstats
path: root/extra_plugins/command_planetoid/index.tmpl
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2013-02-27 09:13:31 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2013-02-27 09:13:31 -0300
commitcb2680529d9447d94546c8c0960f0c4e299af18c (patch)
tree335ce0e66c214a120aa51ac78e25afe6585c1a13 /extra_plugins/command_planetoid/index.tmpl
parent6e0996d54cad4586645fdc59164708e4b4b9dcec (diff)
parent878ba1152ebc64a4a2609d23c9e400a6111db642 (diff)
Merge tag 'upstream/5.3'
Upstream version 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>