From e05e516199740a4313911d1f774c4163db303210 Mon Sep 17 00:00:00 2001 From: Samuel De Backer Date: Thu, 19 Mar 2015 13:35:38 +0100 Subject: [PATCH] history + _index.blade --- src/Models/Partner.php | 2 +- .../admin/{index.php => _index.blade.php} | 20 ++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) rename src/resources/views/admin/{index.php => _index.blade.php} (72%) diff --git a/src/Models/Partner.php b/src/Models/Partner.php index 41e485b..6b590cd 100644 --- a/src/Models/Partner.php +++ b/src/Models/Partner.php @@ -3,8 +3,8 @@ use Dimsav\Translatable\Translatable; use TypiCMS\Models\Base; +use TypiCMS\Modules\History\Traits\Historable; use TypiCMS\Presenters\PresentableTrait; -use TypiCMS\Traits\Historable; class Partner extends Base { diff --git a/src/resources/views/admin/index.php b/src/resources/views/admin/_index.blade.php similarity index 72% rename from src/resources/views/admin/index.php rename to src/resources/views/admin/_index.blade.php index 30c8959..edf69c4 100644 --- a/src/resources/views/admin/index.php +++ b/src/resources/views/admin/_index.blade.php @@ -1,8 +1,8 @@

- New - {{ models.length }} partner + New + @{{ models.length }} partner

@@ -24,10 +24,10 @@ - + - + @@ -37,13 +37,15 @@ - - + - {{ model.homepage }} - {{ model.title }} - {{ model.website }} + + + + @{{ model.homepage }} + @{{ model.title }} + @{{ model.website }}