Revision f9015c00 ui/templates/machines.html

b/ui/templates/machines.html
752 752
    // show values
753 753
    for (key in meta) {
754 754
        pair = $("ul.meta-template li").clone();
755
        //truncate metadata
755 756
        pair.find("label").text(key.substring(0,15));
756
        pair.find("p").text(meta[key].substring(0,30));
757
        if (meta[key].length > 32) {
758
            pair.find("p").text(meta[key].substring(0,30) + "...");
759
        } else {
760
            pair.find("p").text(meta[key]);            
761
        }
757 762
        pair.appendTo("#edit-dialog div.content ul.meta-list").fadeIn();
758 763
    }
759 764
}

Also available in: Unified diff