summaryrefslogtreecommitdiff
path: root/.templates
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-11-11 01:57:49 +0100
committerThomas Schwinge <tschwinge@gnu.org>2008-11-11 01:57:49 +0100
commit79bbf399ff5d6a9ae966f0a9b2795fb029c0b79b (patch)
tree2a1a80f6093001fc2d981e8b0964f86e4713bee9 /.templates
parentc9e4724eff28620efd982939c10c6d844062f5eb (diff)
CSS magic for news items. Thanks to Arne Babenhauserheide for a hint.
Diffstat (limited to '.templates')
-rw-r--r--.templates/newsitem.tmpl32
1 files changed, 20 insertions, 12 deletions
diff --git a/.templates/newsitem.tmpl b/.templates/newsitem.tmpl
index 97098ca5..1c8f2ae8 100644
--- a/.templates/newsitem.tmpl
+++ b/.templates/newsitem.tmpl
@@ -18,6 +18,18 @@
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
</TMPL_IF>
</span>
+<TMPL_IF NAME="HAVE_ACTIONS">
+<div class="actions">
+<ul>
+<TMPL_IF NAME="EDITURL">
+<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
+</TMPL_IF>
+<TMPL_IF NAME="DISCUSSIONLINK">
+<li><TMPL_VAR DISCUSSIONLINK></li>
+</TMPL_IF>
+</ul>
+</div><!--.actions-->
+</TMPL_IF>
</div><!--.newsitemheader-->
@@ -27,10 +39,14 @@
<div class="newsitemfooter">
+<!-- The saved space is more important that the information this provides.
+
<span class="pagedate">
Posted <TMPL_VAR CTIME>
</span>
+-->
+
<TMPL_IF NAME="TAGS">
<span class="tags">
Tags:
@@ -40,6 +56,9 @@ Tags:
</span>
</TMPL_IF>
+<!-- For these tiny snippets we can abstain from displaying this again. It
+should match the inlining page's information nevertheless.
+
<TMPL_IF COPYRIGHT>
<div class="pagecopyright">
<TMPL_VAR COPYRIGHT>
@@ -52,18 +71,7 @@ License: <TMPL_VAR LICENSE>
</div>
</TMPL_IF>
-<TMPL_IF NAME="HAVE_ACTIONS">
-<div class="actions">
-<ul>
-<TMPL_IF NAME="EDITURL">
-<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
-</TMPL_IF>
-<TMPL_IF NAME="DISCUSSIONLINK">
-<li><TMPL_VAR DISCUSSIONLINK></li>
-</TMPL_IF>
-</ul>
-</div><!--.actions-->
-</TMPL_IF>
+-->
</div><!--.newsitemfooter-->