Commit 3ff6b790 authored by Nigel McNie's avatar Nigel McNie
Browse files

Display correct message when a blog has no posts in it.

parent 31456f93
......@@ -12,7 +12,12 @@ var blog_renderfull{$blockid} = new TableRenderer(
[
{literal}function(r) {
var td = TD();
td.innerHTML = r.content.html;
if (r.content.html) {
td.innerHTML = r.content.html;
}
else {
td.innerHTML = r.content;
}
return td;
}{/literal}
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment