From 0d1229a0f56a99a18aefed4fc87246154aa35954 Mon Sep 17 00:00:00 2001 From: zero-24 Date: Sun, 27 Apr 2014 17:19:20 +0200 Subject: [PATCH] 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 :) --- .../components/com_patchtester/views/pulls/view.html.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/administrator/components/com_patchtester/views/pulls/view.html.php b/administrator/components/com_patchtester/views/pulls/view.html.php index a49f5c3..bec2db1 100644 --- a/administrator/components/com_patchtester/views/pulls/view.html.php +++ b/administrator/components/com_patchtester/views/pulls/view.html.php @@ -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);}' - ); } }