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
+2 -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',
@@ -41,6 +42,6 @@ return [
'noHomepage' => 'You have not set up your homepage yet, or your current homepage is draft! Try to select another one.', 'noHomepage' => 'You have not set up your homepage yet, or your current homepage is draft! Try to select another one.',
'homepageProtected' => 'Your homepage is displayed only for logged in users. This may or may not be an error.', 'homepageProtected' => 'Your homepage is displayed only for logged in users. This may or may not be an error.',
'parentPage' => 'Parent page', 'parentPage' => 'Parent page',
'alreadyHomepage' => 'Homepage' 'alreadyHomepage' => 'Homepage'
]; ];
@@ -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)