From f842e868854242a7dba105a446d79aecca9c66e6 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sun, 8 Apr 2018 16:00:22 -0500 Subject: [PATCH] styling fixes --- app/Support/Metar.php | 2 ++ resources/views/admin/pireps/pirep_card.blade.php | 2 +- .../views/layouts/default/pireps/pirep_card.blade.php | 11 +++++++---- .../views/layouts/default/pireps/table.blade.php | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/app/Support/Metar.php b/app/Support/Metar.php index 41f86fe1..1c79bc61 100644 --- a/app/Support/Metar.php +++ b/app/Support/Metar.php @@ -381,6 +381,8 @@ class Metar implements \ArrayAccess /** * Gets the value from result array as class property. + * @param $parameter + * @return mixed|null */ public function __get($parameter) { diff --git a/resources/views/admin/pireps/pirep_card.blade.php b/resources/views/admin/pireps/pirep_card.blade.php index 7ed98be9..90d7ad09 100644 --- a/resources/views/admin/pireps/pirep_card.blade.php +++ b/resources/views/admin/pireps/pirep_card.blade.php @@ -6,7 +6,7 @@
- {{ $pirep->ident }} + {{ $pirep->airline->code }}{{ $pirep->ident }}
diff --git a/resources/views/layouts/default/pireps/pirep_card.blade.php b/resources/views/layouts/default/pireps/pirep_card.blade.php index 96c78f42..b95ed460 100644 --- a/resources/views/layouts/default/pireps/pirep_card.blade.php +++ b/resources/views/layouts/default/pireps/pirep_card.blade.php @@ -2,9 +2,14 @@
+

+ edit +

- {{ $pirep->ident }} + {{ $pirep->airline->code }}{{ $pirep->ident }} - {{ $pirep->dpt_airport->name }} @@ -58,9 +63,7 @@
-

- edit -

+
diff --git a/resources/views/layouts/default/pireps/table.blade.php b/resources/views/layouts/default/pireps/table.blade.php index 21c5b11a..8d25ee68 100644 --- a/resources/views/layouts/default/pireps/table.blade.php +++ b/resources/views/layouts/default/pireps/table.blade.php @@ -1,2 +1,2 @@ -@each("pireps.pirep_card", $pireps, 'pirep') +@each('pireps.pirep_card', $pireps, 'pirep')