Revision 36c042ae ui/templates/machines.html
b/ui/templates/machines.html | ||
---|---|---|
769 | 769 |
pair = $("ul.meta-template li").clone(); |
770 | 770 |
//truncate metadata |
771 | 771 |
pair.find("label").text(key.substring(0,15)); |
772 |
if (meta[key].length > 32) {
|
|
773 |
pair.find("p").text(meta[key].substring(0,30) + "...");
|
|
772 |
if (meta[key].length > 25) {
|
|
773 |
pair.find("p").text(meta[key].substring(0,25) + "...");
|
|
774 | 774 |
} else { |
775 | 775 |
pair.find("p").text(meta[key]); |
776 | 776 |
} |
Also available in: Unified diff