Fix css to add bold border must be forced only when not previously done

This commit is contained in:
Laurent Destailleur 2016-07-28 14:37:36 +02:00
parent 629271cf85
commit e8b5fc5d06

View File

@ -51,8 +51,8 @@ if (in_array($object->element,array('propal', 'supplier_proposal','facture','fac
?>
<!-- BEGIN PHP TEMPLATE objectline_create.tpl.php -->
<tr class="liste_titre liste_titre_add nodrag nodrop">
<?php $nolinesbefore=(count($this->lines) == 0); ?>
<tr class="liste_titre<?php echo ($nolinesbefore?'':' liste_titre_add') ?> nodrag nodrop">
<td class="linecoldescription" <?php echo (! empty($conf->global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="2"' : ''); ?>>
<div id="add"></div><span class="hideonsmartphone"><?php echo $langs->trans('AddNewLine'); ?></span><?php // echo $langs->trans("FreeZone"); ?>
</td>