dashboard: do not arbitrarily split descriptions in services

PR: https://github.com/opnsense/core/issues/1277
This commit is contained in:
Franco Fichtner 2016-11-25 16:31:38 +01:00
parent 0ec8569296
commit df469d3268

View File

@ -82,11 +82,10 @@ if (isset($_POST['servicestatusfilter'])) {
foreach ($services as $service):
if (!$service['name'] || in_array($service['name'], $skipservices)) {
continue;
}
$service_desc = explode(".", $service['description']);?>
} ?>
<tr>
<td><?=$service['name'];?></td>
<td><?=$service_desc[0];?></td>
<td><?=$service['description'];?></td>
<td><?=str_replace('btn ', 'btn btn-xs ', get_service_status_icon($service, false, true));?>
<?=str_replace('btn ', 'btn btn-xs ', get_service_control_links($service));?>
</td>