Show only service name in green header for service maps - #230
This commit is contained in:
parent
fa1edc0973
commit
18f1c96917
|
@ -2416,8 +2416,14 @@ function ui_print_page_header ($title, $icon = "", $return = false, $help = "",
|
|||
|
||||
|
||||
$buffer .= '<ul class="mn"><li class="' . $type . '"> ' . ' ';
|
||||
|
||||
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>
|
||||
|
|
Loading…
Reference in New Issue