From 353410e991ed7cfc1a3d44aeef0131d9e8edba0d Mon Sep 17 00:00:00 2001 From: TimKardol Date: Fri, 6 Oct 2023 15:11:17 +0200 Subject: [PATCH 1/2] Fix some of the links on the content mod homepage --- app/View/Components/ContentModeratorBlock.php | 4 +- .../content-moderator-block.blade.php | 6 +- .../content-moderator-dashboard.blade.php | 86 +++++++++---------- 3 files changed, 48 insertions(+), 48 deletions(-) diff --git a/app/View/Components/ContentModeratorBlock.php b/app/View/Components/ContentModeratorBlock.php index b751eebf..c7767d48 100644 --- a/app/View/Components/ContentModeratorBlock.php +++ b/app/View/Components/ContentModeratorBlock.php @@ -14,12 +14,12 @@ class ContentModeratorBlock extends Component public function __construct( public string $label, public string $count, - public string $routeName, + public string $route, public string $icon, public string $roleColour, ) { - $this->routeName = $routeName; + } /** diff --git a/resources/views/components/content-moderator-block.blade.php b/resources/views/components/content-moderator-block.blade.php index 1ccbbfbf..65f713de 100644 --- a/resources/views/components/content-moderator-block.blade.php +++ b/resources/views/components/content-moderator-block.blade.php @@ -8,7 +8,7 @@
+

{{ $label }} @@ -20,8 +20,8 @@

- \ No newline at end of file + diff --git a/resources/views/components/content-moderator-dashboard.blade.php b/resources/views/components/content-moderator-dashboard.blade.php index edb71bc2..70857950 100644 --- a/resources/views/components/content-moderator-dashboard.blade.php +++ b/resources/views/components/content-moderator-dashboard.blade.php @@ -13,31 +13,31 @@ @@ -48,44 +48,44 @@

Current totals

-
- - - - - - -
+{{--
--}} +{{-- --}} +{{-- --}} +{{-- --}} +{{-- --}} +{{-- --}} +{{-- --}} +{{--
--}}
From ddbda072a6ac49cb9b72a081b32e151b290671ac Mon Sep 17 00:00:00 2001 From: Valeria Stamenova Date: Sat, 7 Oct 2023 22:27:34 +0200 Subject: [PATCH 2/2] Fix the lower half of the content mod block links --- app/View/Components/ContentModeratorBlock.php | 1 + .../content-moderator-dashboard.blade.php | 80 ++++++++++--------- 2 files changed, 43 insertions(+), 38 deletions(-) diff --git a/app/View/Components/ContentModeratorBlock.php b/app/View/Components/ContentModeratorBlock.php index c7767d48..a40f0087 100644 --- a/app/View/Components/ContentModeratorBlock.php +++ b/app/View/Components/ContentModeratorBlock.php @@ -17,6 +17,7 @@ public function __construct( public string $route, public string $icon, public string $roleColour, + public string $param = '' ) { diff --git a/resources/views/components/content-moderator-dashboard.blade.php b/resources/views/components/content-moderator-dashboard.blade.php index 70857950..78fa5b7d 100644 --- a/resources/views/components/content-moderator-dashboard.blade.php +++ b/resources/views/components/content-moderator-dashboard.blade.php @@ -48,44 +48,48 @@

Current totals

-{{--
--}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} -{{-- --}} -{{--
--}} +
+ + + + + + +