Skip to content

Commit

Permalink
fix(wizard): simplified catalog: only timeline for ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jun 1, 2022
1 parent 57b7596 commit 7a24970
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions inc/issue.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,14 @@ public function displaySimplified(CommonDBTM $item, $options = []): void {
}

echo "<div class='tab-content p-2 flex-grow-1 card '>";
echo '<style>';
echo '.itil-right-side { display: none !important }';
echo '.itil-right-side { width: 0 !important }';
echo '.itil-left-side { width: 100% !important }';
echo '#itil-object-container .form-buttons span { display: none !important }';
echo '#itil-object-container .form-buttons { flex: inherit; width: 89px}';
echo "#itil-object-container .timeline-buttons { flex: 1 1 auto }";
echo '</style>';
$item->showForm($item->getID());
echo "</div>";
} else {
Expand Down

0 comments on commit 7a24970

Please sign in to comment.