From de9f2e61c51b017340088363cd2f29444255efac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danyi=20D=C3=A1vid?= Date: Mon, 7 May 2018 14:53:13 +0200 Subject: [PATCH] * aspect-for-selection -> aspects-for-selection * judge title spacing fix --- config/routes.php | 2 +- src/App/Plates/NavigationExtension.php | 4 ++-- src/App/Service/JudgeManager.php | 2 +- ...aspect-for-selection.phtml => aspects-for-selection.phtml} | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename templates/app/{aspect-for-selection.phtml => aspects-for-selection.phtml} (90%) diff --git a/config/routes.php b/config/routes.php index 01ee3b3..4a3374a 100644 --- a/config/routes.php +++ b/config/routes.php @@ -38,7 +38,7 @@ return function (Application $app, MiddlewareFactory $factory, ContainerInterfac $app->get('/the-prize', App\Handler\PrizeRedirectHandler::class, 'the-prize'); $app->get( - '/the-prize/{article:background-and-purpose|description-and-values|aspect-for-selection|gran-prize-award-events}', + '/the-prize/{article:background-and-purpose|description-and-values|aspects-for-selection|gran-prize-award-events}', App\Handler\ArticleHandler::class, 'the-prize.article' ); diff --git a/src/App/Plates/NavigationExtension.php b/src/App/Plates/NavigationExtension.php index c37c911..7cd3b31 100644 --- a/src/App/Plates/NavigationExtension.php +++ b/src/App/Plates/NavigationExtension.php @@ -77,8 +77,8 @@ class NavigationExtension implements ExtensionInterface $prizeMenu->addChild("Description and Values", [ 'uri' => $this->getUriFromRouter('the-prize.article', ['article' => 'description-and-values']) ]); - $prizeMenu->addChild("Aspect for Selection", [ - 'uri' => $this->getUriFromRouter('the-prize.article', ['article' => 'aspect-for-selection']) + $prizeMenu->addChild("Aspects for Selection", [ + 'uri' => $this->getUriFromRouter('the-prize.article', ['article' => 'aspects-for-selection']) ]); $prizeMenu->addChild("Gran Prize Award and Events", [ 'uri' => $this->getUriFromRouter('the-prize.article', ['article' => 'gran-prize-award-events']) diff --git a/src/App/Service/JudgeManager.php b/src/App/Service/JudgeManager.php index a1fa33a..beae342 100644 --- a/src/App/Service/JudgeManager.php +++ b/src/App/Service/JudgeManager.php @@ -14,7 +14,7 @@ class JudgeManager ], [ 'image' => 'balazs_nagy_lantos', 'name' => 'Balázs Nagy Lantos', - 'desc' => 'Mensa HungarIQa,Former President', + 'desc' => 'Mensa HungarIQa, Former President', ], [ 'image' => 'bertalan_mesko', 'name' => 'Dr Bertalan Meskó', diff --git a/templates/app/aspect-for-selection.phtml b/templates/app/aspects-for-selection.phtml similarity index 90% rename from templates/app/aspect-for-selection.phtml rename to templates/app/aspects-for-selection.phtml index b8a7240..9e7d21c 100644 --- a/templates/app/aspect-for-selection.phtml +++ b/templates/app/aspects-for-selection.phtml @@ -1,4 +1,4 @@ -layout('layout::default', ['title' => 'Aspect for Selection']) ?> +layout('layout::default', ['title' => 'Aspects for Selection']) ?>