FEATURE: remove page name from button in overview

This commit is contained in:
Michal Kváček
2016-04-06 20:33:10 +02:00
parent d231065fb8
commit 74838f96fa
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -6,6 +6,7 @@ return [
'status_public' => 'Public', 'status_public' => 'Public',
'new' => 'Create new :name', 'new' => 'Create new :name',
'edit' => 'Edit :name', 'edit' => 'Edit :name',
'editPlain' => 'Edit',
'content' => 'Page content', 'content' => 'Page content',
'save' => 'Save new page', 'save' => 'Save new page',
'basicInfo' => 'Basic information', 'basicInfo' => 'Basic information',
@@ -54,7 +54,7 @@
<a href="{{route('content.edit', ['id' => $page->id])}}" class="button tiny success"> <a href="{{route('content.edit', ['id' => $page->id])}}" class="button tiny success">
<i class="fa fa-edit"></i> <i class="fa fa-edit"></i>
@lang('admin/contents.edit', ['name' => $page->title]) @lang('admin/contents.editPlain')
</a> </a>
@if($page->status == \App\Models\Content::STATUS_DRAFT) @if($page->status == \App\Models\Content::STATUS_DRAFT)