Merge branch 'ent-12089-lineas-dobles-en-la-vista-de-modulos' into 'develop'

Ent 12089 lineas dobles en la vista de modulos

See merge request artica/pandorafms!6466
This commit is contained in:
Rafael Ameijeiras 2023-09-20 09:00:41 +00:00
commit 06e23338cb
1 changed files with 11 additions and 3 deletions

View File

@ -609,12 +609,20 @@ function ui_print_timestamp($unixtime, $return=false, $option=[])
$tag = 'span'; $tag = 'span';
} }
if (empty($option['style']) === true) { if (empty($option['class']) === false) {
$style = 'class="'.($option['class'] ?? 'nowrap').'"'; $class = 'class="nowrap '.$option['class'].'"';
} else { } else {
$style = 'style="'.$option['style'].'"'; $class = 'class="nowrap"';
} }
if (empty($option['style']) === false) {
$style = 'style="'.$option['style'].'"';
} else {
$style = 'style=""';
}
$style .= ' '.$class;
if (empty($option['prominent']) === false) { if (empty($option['prominent']) === false) {
$prominent = $option['prominent']; $prominent = $option['prominent'];
} else { } else {