From e42ee31748bd8b7f82d7ce52890351720ec962c0 Mon Sep 17 00:00:00 2001 From: Philippe Damen Date: Tue, 18 Jun 2019 14:29:35 +0200 Subject: [PATCH] update changelog only show type if its a module --- CHANGELOG.md | 2 ++ resources/views/back/managers/_partials/_rowitem.blade.php | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4e0c7e34..10114a7fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All Notable changes to the `chief` application template will be documented in this file. Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles. ## unreleased + +## 0.2.14 - 2019-6-18 - Added: add seo_image to page seo tab - Fixed: remove own module on page now works. - Fixed: apply permissions on archive/publish buttons diff --git a/resources/views/back/managers/_partials/_rowitem.blade.php b/resources/views/back/managers/_partials/_rowitem.blade.php index 805061bc8..2659578d5 100644 --- a/resources/views/back/managers/_partials/_rowitem.blade.php +++ b/resources/views/back/managers/_partials/_rowitem.blade.php @@ -1,7 +1,10 @@
-
{{$manager->details()->singular}}
+ @if($manager->model() instanceof Thinktomorrow\Chief\Modules\Module) +
{{$manager->details()->singular}}
+ @endif + @if($manager->can('edit')) {!! $manager->details()->title !!}