Merge branch 'cherry-pick-97c17595' into 'pandora_6.0'

Merge branch '230-se-descojona-la-solapa-cuando-el-nombre-del-servicio-tiene-mas…

See merge request !126
This commit is contained in:
vgilc 2017-02-20 17:03:24 +01:00
commit f3c29f0cc2
1 changed files with 6 additions and 0 deletions

View File

@ -2416,8 +2416,14 @@ function ui_print_page_header ($title, $icon = "", $return = false, $help = "",
$buffer .= '<ul class="mn"><li class="' . $type . '">&nbsp;' . '&nbsp; ';
if(strpos($title, "Monitoring » Services »") != -1){
$title = str_replace("Monitoring » Services » Service Map » ",'',$title);
}
$buffer .= '<span style="margin-right:10px;">' .
ui_print_truncate_text($title, 'item_title');
if ($modal && !enterprise_installed()){
$buffer .= "
<div id='".$message."' class='publienterprise' title='Community version' style='float: right;margin-top: -2px !important; margin-left: 2px !important;'><img data-title='Enterprise version' class='img_help forced_title' data-use_title_for_force_title='1' src='images/alert_enterprise.png'></div>