From fb2b66e2dd67ceefc94d8e64eedd9300f64d695f Mon Sep 17 00:00:00 2001 From: sinuca <55vitaminado@gmail.com> Date: Mon, 17 Mar 2014 19:11:16 -0300 Subject: Recent posts functionality Conflicts: inc/config.php inc/mod/pages.php mod.php --- templates/mod/recent_posts.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 templates/mod/recent_posts.html (limited to 'templates/mod/recent_posts.html') diff --git a/templates/mod/recent_posts.html b/templates/mod/recent_posts.html new file mode 100644 index 00000000..c106b4e8 --- /dev/null +++ b/templates/mod/recent_posts.html @@ -0,0 +1,5 @@ +{% if posts|count %} +

({% trans 'There are no active posts.' %})

+{% else %} + +{% endif %} \ No newline at end of file -- cgit v1.3 From 1e92e678a61ea588197604a3acb51be35e393f66 Mon Sep 17 00:00:00 2001 From: czaks Date: Tue, 25 Mar 2014 12:09:12 +0100 Subject: add a javascript --- templates/mod/recent_posts.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/mod/recent_posts.html') diff --git a/templates/mod/recent_posts.html b/templates/mod/recent_posts.html index c106b4e8..4a2f9baa 100644 --- a/templates/mod/recent_posts.html +++ b/templates/mod/recent_posts.html @@ -1,5 +1,6 @@ + {% if posts|count %}

({% trans 'There are no active posts.' %})

{% else %} -{% endif %} \ No newline at end of file +{% endif %} -- cgit v1.3