Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

Commit

Permalink
add portlet bold unread
Browse files Browse the repository at this point in the history
  • Loading branch information
t.pozzo committed Feb 1, 2017
1 parent 2bd3c75 commit 340b2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/portlet.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pimcore.layout.portlets.notifications = Class.create(pimcore.layout.portlets.abs
renderer: function (val, metaData, record, rowIndex, colIndex, store) {
var unread = parseInt(store.getAt(rowIndex).get("unread"));
if (unread) {
return '<strong>' + val + '</strong>';
return '<strong style="font-weight: bold;">' + val + '</strong>'; // css style need to be added
}
return val;
}
Expand Down

0 comments on commit 340b2e6

Please sign in to comment.