diff --git a/xCAT-UI/images/ui-icon-comment.png b/xCAT-UI/images/ui-icon-comment.png
index f3944770c..8576510cf 100644
Binary files a/xCAT-UI/images/ui-icon-comment.png and b/xCAT-UI/images/ui-icon-comment.png differ
diff --git a/xCAT-UI/images/ui-icon-no-comment.png b/xCAT-UI/images/ui-icon-no-comment.png
new file mode 100644
index 000000000..f0764ca8b
Binary files /dev/null and b/xCAT-UI/images/ui-icon-no-comment.png differ
diff --git a/xCAT-UI/js/nodes/nodes.js b/xCAT-UI/js/nodes/nodes.js
index 6375e5f9b..e33b7ead8 100644
--- a/xCAT-UI/js/nodes/nodes.js
+++ b/xCAT-UI/js/nodes/nodes.js
@@ -1814,7 +1814,7 @@ function loadComments(data) {
var dTable = getNodesDataTable();
// Go through each node
- var node, comments, icon, tipID, tip;
+ var node, comments, icon, iconSrc, tipID, tip;
var rowPos, node, status;
for ( var i in out) {
// out[0][0] = node name and out[0][1] = comments
@@ -1823,12 +1823,15 @@ function loadComments(data) {
// If no comments exists, show "no comments"
if (!comments) {
- comments = "No comments";
+ comments = 'No comments';
+ iconSrc = 'images/ui-icon-no-comment.png';
+ } else {
+ iconSrc = 'images/ui-icon-comment.png';
}
// Create comments icon
tipID = node + 'Tip';
- icon = $('').css({
+ icon = $('').css({
'width': '18px',
'height': '18px'
});