truncate long texts

This commit is contained in:
alejandro-campos 2020-03-10 17:23:19 +01:00
parent bd6540da87
commit ef704895b1
1 changed files with 1 additions and 2 deletions

View File

@ -458,7 +458,6 @@ function cron_list_table()
$table->head[5] = __('Last run');
$table->head[6] = __('Group');
$table->head[7] = __('Actions');
$table->cellstyle[0][2] = 'word-break: break-word;';
$table->align[7] = 'left';
foreach ($defined_tasks as $task) {
@ -555,7 +554,7 @@ function cron_list_table()
$data[2] .= '<br>- '.__('Template').': ';
$data[2] .= '<a href="'.ui_get_full_url('index.php?sec=reporting&sec2=enterprise/godmode/reporting/reporting_builder.template&action=edit&id_template='.$args[0]).'">';
$data[2] .= $template['name'].'</a>';
$data[2] .= '<br>- '.__('Agents').': '.$agents_id.'</a>';
$data[2] .= '<br>- '.__('Agents').': '.ui_print_truncate_text($agents_id, 120).'</a>';
$data[2] .= '<br>- '.__('Report per agent').': '.$report_per_agent.'</a>';
$data[2] .= '<br>- '.__('Report name').': '.$report_name.'</a>';
$data[2] .= '<br>- '.__('Email').": <a href='mailto:".$email."'>".$email.'</a>';