Merge branch 'ticket-14698-sensefuel'

This commit is contained in:
Michael RICOIS 2017-12-13 17:57:49 +01:00
commit ad584e21e0
2 changed files with 7 additions and 3 deletions

View File

@ -78,7 +78,12 @@ class SenseFuel extends Module
return false;
}
global $smarty;
global $smarty, $page_name;
if (!in_array($page_name, array('index', 'product', 'category'))) {
return false;
}
$smarty->assign(array('display' => $this->display));
return self::display(__FILE__, 'views/top-sensefuel.tpl');

View File

@ -3822,7 +3822,7 @@ h2.title{
font-weight: normal;
padding: 10px;
text-align: center;
position: relative;
clear:both;
/* -webkit-box-shadow: 0 5px 3px -3px #ccc;
-moz-box-shadow: 0 5px 3px -3px #ccc;
box-shadow: 0 5px 3px -3px #ccc;*/
@ -5317,7 +5317,6 @@ body#order-detail table#order-product tbody tr.item tr.title span.quantity{
#sensefuel {
display: block;
margin-bottom: 5px;
font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}
#sensefuel .search .search_form .search_input {