call home

This commit is contained in:
j 2017-02-09 03:50:27 +00:00
commit dc5fd74d9f
4 changed files with 141 additions and 346 deletions

View file

@ -394,17 +394,7 @@ pandora.ui.home = function() {
}
function getHTML(item) {
if (item.type == 'custom') {
return '<b>' + item.title + '</b><br><br>' + item.text;
}
return '<b>'
+ (
(lists && edits) || (lists && texts) || (edits && texts)
? Ox._(Ox.toTitleCase(item.type)) + ': '
: ''
)
+ Ox.encodeHTMLEntities(item.title) + '</b><br><br>'
+ item.text;
return '<b>' + Ox.encodeHTMLEntities(item.title) + '</b><br><br>' + item.text;
}
function getTooltip(item) {