diff --git a/assets/css/app.css b/assets/css/app.css index 98d09eda..a46d6ce8 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -433,12 +433,12 @@ table .input-group-btn:last-child>.btn, table .input-group-btn:last-child>.btn-g .card-header a[data-toggle=collapse]:after { /*noinspection CssNoGenericFontName*/ - font-family: "FA5"; + font-family: "Font Awesome 5 Free"; content: "\f106"; position: absolute; right: 20px; font-size: 20px; - font-weight: 400; + font-weight: 900; top: 50%; line-height: 1; margin-top: -10px; diff --git a/src/Controller/PartListsController.php b/src/Controller/PartListsController.php index 45007ccb..72280736 100644 --- a/src/Controller/PartListsController.php +++ b/src/Controller/PartListsController.php @@ -54,7 +54,10 @@ class PartListsController extends AbstractController return $table->getResponse(); } - return $this->render('Parts/lists/category_list.html.twig', ['datatable' => $table]); + return $this->render('Parts/lists/category_list.html.twig', [ + 'datatable' => $table, + 'entity' => $category + ]); } /** diff --git a/templates/Parts/lists/_info_card.html.twig b/templates/Parts/lists/_info_card.html.twig new file mode 100644 index 00000000..90d11b4f --- /dev/null +++ b/templates/Parts/lists/_info_card.html.twig @@ -0,0 +1,74 @@ +