e.data.html(html_code);
var $elt = e.data;
if (simplelist_debug) console.log("about to unspin with elt #" + $elt.attr('id') + " class " + $elt.attr('class'));
- $elt.closest('.plugin-toggle').spin(false);
+ $elt.closest('.need-spin').spin(false);
}
function myslice_html_ul(data, key, value, is_cached) {
return out;
}
- function myslice_html_li(key, value) {
- var cached = '';
+ function myslice_html_li(key, value,is_cached) {
+ var cached = is_cached ? "(cached)" : "";
if (key == 'slice_hrn') {
- return "<li class='icn icn-play'><a href='/slice/" + value + "'>" + value + cached + "</a></li>";
+ return "<li class='slice-hrn'><i class='icon-play-circle'></i><a href='/slice/" + value + "'>" + value + cached + "</a></li>";
} else if (key == 'network_hrn') {
- return "<li class='icn icn-play'>" + value + cached + "</li>";
+ return "<li class='network-hrn'><i class='icon-play-circle'></i>" + value + cached + "</li>";
} else {
return "<li>" + value + "</li>";
}