Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 38585f8

Browse files
committed
ENH: refs #0339. Add a better icon for the statistics link
We were using a placeholder before
1 parent 40fe80b commit 38585f8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

modules/statistics/Notification.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ public function getUserMenu()
5050
/** Get the link to place in the item action menu */
5151
public function getItemMenuLink($params)
5252
{
53-
$fc = Zend_Controller_Front::getInstance();
54-
$coreWebroot = $fc->getBaseUrl().'/core';
55-
$moduleWebroot = $fc->getBaseUrl().'/'.$this->moduleName;
56-
return '<li><a href="'.$moduleWebroot.'/item?id='.$params['item']->getKey().
57-
'"><img alt="" src="'.$coreWebroot.'/public/images/icons/metadata.png" /> '.$this->t('Statistics').'</a></li>';
53+
$webroot = Zend_Controller_Front::getInstance()->getBaseUrl();
54+
return '<li><a href="'.$webroot.'/'.$this->moduleName.'/item?id='.$params['item']->getKey().
55+
'"><img alt="" src="'.$webroot.'/modules/'.$this->moduleName.
56+
'/public/images/chart_bar.png" /> '.$this->t('Statistics').'</a></li>';
5857
}
5958

6059
/** get layout footer */
541 Bytes
Loading

0 commit comments

Comments
 (0)