Commit e58eb8da authored by Ozzie Isaacs's avatar Ozzie Isaacs

Show checkbox from boolean custom columns on details page with caliblur theme

parent d02eb842
......@@ -150,11 +150,16 @@ if ($("body.book").length > 0) {
var splitText = $(this).text().split(':');
var label = splitText.shift().trim();
var value = splitText.join(':').trim();
var class_value = ""
// Preserve Links
if ($(this).find('a').length) {
value = $(this).find('a').first().removeClass();
}
$(this).html('<span>' + label + '</span><span></span>').find('span').last().append(value);
// Preserve glyphicons
if ($(this).find('span').length) {
class_value = $(this).find('span').first().attr('class');
}
$(this).html('<span>' + label + '</span><span class="' + class_value + '"></span>').find('span').last().append(value);
});
$(".book-meta h2:first").clone()
......
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