diff --git a/htdocs/core/tpl/objectline_title.tpl.php b/htdocs/core/tpl/objectline_title.tpl.php
index cbe5d0dee10..f7afa80bf55 100644
--- a/htdocs/core/tpl/objectline_title.tpl.php
+++ b/htdocs/core/tpl/objectline_title.tpl.php
@@ -134,14 +134,14 @@ if (isset($this->situation_cycle_ref) && $this->situation_cycle_ref) {
if ($usemargins && isModEnabled('margin') && empty($user->socid)) {
if (!empty($user->rights->margins->creer)) {
if ($conf->global->MARGIN_TYPE == "1") {
- print '
'.$langs->trans('BuyingPrice').' | ';
+ print ''.$langs->trans('BuyingPrice').' | ';
} else {
- print ''.$langs->trans('CostPrice').' | ';
+ print ''.$langs->trans('CostPrice').' | ';
}
}
if (!empty($conf->global->DISPLAY_MARGIN_RATES) && $user->rights->margins->liretous) {
- print ''.$langs->trans('MarginRate');
+ print ' | '.$langs->trans('MarginRate');
if ($user->hasRight("propal", "creer")) {
print 'id.'">'.img_edit($langs->trans("UpdateForAllLines"), 0, 'class="clickmarginforalllines opacitymedium paddingleft cursorpointer"').'';
if (GETPOST('mode', 'aZ09') == 'marginforalllines') {
@@ -154,7 +154,7 @@ if ($usemargins && isModEnabled('margin') && empty($user->socid)) {
print ' | ';
}
if (!empty($conf->global->DISPLAY_MARK_RATES) && $user->rights->margins->liretous) {
- print ''.$langs->trans('MarkRate').' | ';
+ print ''.$langs->trans('MarkRate').' | ';
}
}