Commit a2cc0f9f authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

add description to template list

parent 9a7ed747
......@@ -62,7 +62,7 @@ var templates = new TableRenderer(
'templates',
'create2.json.php',
[
function(r) { return TD(null, H3(null, r.title)); },
function(r) { return TD(null, H3(null, r.title), P(null, r.description)); },
function(r) { return TD(null, IMG({'src': '{$wwwroot}thumb.php?type=template&name=' + r.name})); },
function(r) {
var button = BUTTON({'name': 'template', 'type': 'button'}, '{$selecttemplate}');
......
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