File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
app/code/Magento/AdminNotification/Block/Grid/Renderer Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 10
10
11
11
namespace Magento \AdminNotification \Block \Grid \Renderer ;
12
12
13
+ /**
14
+ * Renderer class for action in the admin notifications grid
15
+ */
13
16
class Actions extends \Magento \Backend \Block \Widget \Grid \Column \Renderer \AbstractRenderer
14
17
{
15
18
/**
@@ -39,9 +42,9 @@ public function __construct(
39
42
*/
40
43
public function render (\Magento \Framework \DataObject $ row )
41
44
{
42
- $ readDetailsHtml = $ row ->getUrl () ? '<a class="action-details" target="_blank" href=" ' . $ row -> getUrl () . ' "> ' . __ (
43
- ' Read Details '
44
- ) . '</a> | ' : '' ;
45
+ $ readDetailsHtml = $ row ->getUrl () ? '<a class="action-details" target="_blank" href=" ' .
46
+ $ this -> escapeUrl ( $ row -> getUrl ()) . ' "> ' .
47
+ __ ( ' Read Details ' ) . '</a> | ' : '' ;
45
48
46
49
$ markAsReadHtml = !$ row ->getIsRead () ? '<a class="action-mark" href=" ' . $ this ->getUrl (
47
50
'*/*/markAsRead/ ' ,
You can’t perform that action at this time.
0 commit comments