[-] BO : #PSFV-597 : Hide quick access menu if no content
This commit is contained in:
1 parent
1eddc6dce8
commit
dc873e5ddc
1 file changed
+20
-17
@@ -25,11 +25,11 @@
|
|||||||
*}
|
*}
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$iso}" lang="{$iso}">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$iso}" lang="{$iso}">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
|
||||||
<meta name="robots" content="NOFOLLOW, NOINDEX" />
|
<meta name="robots" content="NOFOLLOW, NOINDEX" />
|
||||||
<title>{$meta_title} - PrestaShop™</title>
|
<title>{$meta_title} - PrestaShop™</title>
|
||||||
{if $display_header}
|
{if $display_header}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var help_class_name = '{$controller_name}';
|
var help_class_name = '{$controller_name}';
|
||||||
var iso_user = '{$iso_user}';
|
var iso_user = '{$iso_user}';
|
||||||
@@ -66,23 +66,23 @@
|
|||||||
var token_admin_customers = '{getAdminToken tab='AdminCustomers' slashes=1 }';
|
var token_admin_customers = '{getAdminToken tab='AdminCustomers' slashes=1 }';
|
||||||
var token_admin_customer_threads = '{getAdminToken tab='AdminCustomerThreads' slashes=1 }';
|
var token_admin_customer_threads = '{getAdminToken tab='AdminCustomerThreads' slashes=1 }';
|
||||||
</script>
|
</script>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{if isset($css_files)}
|
{if isset($css_files)}
|
||||||
{foreach from=$css_files key=css_uri item=media}
|
{foreach from=$css_files key=css_uri item=media}
|
||||||
<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
|
<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{/if}
|
{/if}
|
||||||
{if isset($js_files)}
|
{if isset($js_files)}
|
||||||
{foreach from=$js_files item=js_uri}
|
{foreach from=$js_files item=js_uri}
|
||||||
<script type="text/javascript" src="{$js_uri}"></script>
|
<script type="text/javascript" src="{$js_uri}"></script>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<link rel="shortcut icon" href="{$img_dir}favicon.ico" />
|
<link rel="shortcut icon" href="{$img_dir}favicon.ico" />
|
||||||
{if $display_header}
|
{if $display_header}
|
||||||
{hook h="displayBackOfficeHeader"}
|
{hook h="displayBackOfficeHeader"}
|
||||||
{/if}
|
{/if}
|
||||||
<!--[if IE]>
|
<!--[if IE]>
|
||||||
<link type="text/css" rel="stylesheet" href="{$base_url}css/admin-ie.css" />
|
<link type="text/css" rel="stylesheet" href="{$base_url}css/admin-ie.css" />
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
@@ -91,14 +91,14 @@
|
|||||||
color:{$brightness}
|
color:{$brightness}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body style="{if $bo_color}background:{$bo_color};{/if}{if $bo_width > 0}text-align:center;{/if}">
|
<body style="{if $bo_color}background:{$bo_color};{/if}{if $bo_width > 0}text-align:center;{/if}">
|
||||||
{if $display_header}
|
{if $display_header}
|
||||||
<div id="ajax_running"><img src="../img/admin/ajax-loader-yellow.gif" alt="" /> {l s='Loading...'}</div>
|
<div id="ajax_running"><img src="../img/admin/ajax-loader-yellow.gif" alt="" /> {l s='Loading...'}</div>
|
||||||
|
|
||||||
<div id="top_container" {if $bo_width > 0}style="margin:auto;width:{$bo_width}px"{/if}>
|
<div id="top_container" {if $bo_width > 0}style="margin:auto;width:{$bo_width}px"{/if}>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
{* begin HEADER *}
|
{* begin HEADER *}
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<div id="header_infos">
|
<div id="header_infos">
|
||||||
<a id="header_shopname" href="{$link->getAdminLink('AdminHome')}"><span>{$shop_name}</span></a><div id="notifs_icon_wrapper">
|
<a id="header_shopname" href="{$link->getAdminLink('AdminHome')}"><span>{$shop_name}</span></a><div id="notifs_icon_wrapper">
|
||||||
@@ -170,6 +170,8 @@
|
|||||||
<input type="submit" id="bo_search_submit" class="button" value="{l s='Search'}"/>
|
<input type="submit" id="bo_search_submit" class="button" value="{l s='Search'}"/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{if count($quick_access) > 0}
|
||||||
<div id="header_quick">
|
<div id="header_quick">
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function quickSelect(elt)
|
function quickSelect(elt)
|
||||||
@@ -187,6 +189,7 @@
|
|||||||
{/foreach}
|
{/foreach}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
{hook h="displayBackOfficeTop"}
|
{hook h="displayBackOfficeTop"}
|
||||||
</div>
|
</div>
|
||||||
@@ -208,9 +211,9 @@
|
|||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
</div> {* end header *}
|
</div> {* end header *}
|
||||||
{/if}
|
{/if}
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
{if $display_header && $install_dir_exists}
|
{if $display_header && $install_dir_exists}
|
||||||
<div style="background-color: #FFEBCC;border: 1px solid #F90;line-height: 20px;margin: 0px 0px 10px;padding: 10px 20px;">
|
<div style="background-color: #FFEBCC;border: 1px solid #F90;line-height: 20px;margin: 0px 0px 10px;padding: 10px 20px;">
|
||||||
|
|||||||
Reference in new issue
Block a user