Skip to content

Commit

Permalink
#1915 [PublicInterface] fix: a style wrong color
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Nov 6, 2024
1 parent 2bda35a commit c997f9c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions public/control/public_control_history.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,14 @@
$arraySelected = '&categories[]=' . implode('&categories[]=', array_column($cats, 'id'));
}
$moreParams = '&fk_sheet=' . $object->fk_sheet . '&fk_user_controller=' . $object->fk_user_controller . '&projectid=' . $object->projectid . $arraySelected . '&' . $linkedObjectsData['post_name'] . '=' . $objectId;
print '<a class="wpeo-button marginleftonly" href="' . dol_buildpath('custom/digiquali/view/control/control_card.php?action=create' . $moreParams, 1). '" target="_blank">';
print '<i class="fas fa-plus pictofixedwidth"></i>' . $langs->trans('New' . ucfirst($object->element)) . '</a>';
print '<a href="' . dol_buildpath('custom/digiquali/view/control/control_card.php?action=create' . $moreParams, 1). '" target="_blank">';
print '<div class="wpeo-button marginleftonly"><i class="fas fa-plus pictofixedwidth"></i>' . $langs->trans('New' . ucfirst($object->element)) . '</div>';
print '</a>';
}
}
if (isModEnabled('dolicar') && $objectType == 'productlot') {
print '<a class="wpeo-button marginleftonly" href="' . dol_buildpath('custom/dolicar/public/agenda/public_vehicle_logbook.php?id=' . $objectId . '&entity=' . $entity . '&backtopage=' . urlencode($_SERVER['REQUEST_URI']), 1). '">';
print $langs->trans('PublicVehicleLogBook');
print '<a href="' . dol_buildpath('custom/dolicar/public/agenda/public_vehicle_logbook.php?id=' . $objectId . '&entity=' . $entity . '&backtopage=' . urlencode($_SERVER['REQUEST_URI']), 1). '">';
print '<div class="wpeo-button marginleftonly">' . $langs->trans('PublicVehicleLogBook') . '</div>';
print '</a>';
}
print '</div>';
Expand Down

0 comments on commit c997f9c

Please sign in to comment.