31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-26 08:22:34 +00:00

Patchtester icon

Currently we have no icon at the toolbar. This PR will change (or more fallback) to a circle with a point in it. As the others that are in the images folder don't look so good.

But if we want to have e.g. the red beetle (https://github.com/joomla-extensions/patchtester/tree/master/administrator/components/com_patchtester/assets/images)

I can change this PR

Let me know :)
This commit is contained in:
zero-24 2014-04-27 17:19:20 +02:00
parent f317ddbabf
commit 0d1229a0f5

View File

@ -116,12 +116,8 @@ class PatchtesterViewPulls extends JViewLegacy
*/
protected function addToolbar()
{
JToolBarHelper::title(JText::_('COM_PATCHTESTER'), 'patchtester');
JToolBarHelper::title(JText::_('COM_PATCHTESTER'), '');
JToolbarHelper::custom('purge', 'delete.png', 'delete_f2.png', 'COM_PATCHTESTER_PURGE_CACHE', false);
JToolBarHelper::preferences('com_patchtester');
JFactory::getDocument()->addStyleDeclaration(
'.icon-48-patchtester {background-image: url(components/com_patchtester/assets/images/icon-48-patchtester.png);}'
);
}
}