mirror of
https://github.com/flextype/flextype.git
synced 2025-08-28 15:29:59 +02:00
- Entries Controller/Views implementation
This commit is contained in:
@@ -375,11 +375,21 @@ class EntriesController extends Controller
|
||||
'files' => $this->getMediaList($entry_name),
|
||||
'menu_item' => 'entries',
|
||||
'links' => [
|
||||
'entries' => [
|
||||
'link' => $this->router->urlFor('admin.entries.index'),
|
||||
'title' => __('admin_entries'),
|
||||
'edit_entry' => [
|
||||
'link' => $this->router->urlFor('admin.entries.edit') . '?entry=' . $entry_name,
|
||||
'title' => __('admin_content'),
|
||||
'attributes' => ['class' => 'navbar-item active']
|
||||
],
|
||||
'edit_entry_media' => [
|
||||
'link' => $this->router->urlFor('admin.entries.edit') . '?entry=' . $entry_name . '&media=true',
|
||||
'title' => __('admin_media'),
|
||||
'attributes' => ['class' => 'navbar-item']
|
||||
]
|
||||
],
|
||||
'edit_entry_source' => [
|
||||
'link' => $this->router->urlFor('admin.entries.edit') . '?entry=' . $entry_name . '&source=true',
|
||||
'title' => __('admin_source'),
|
||||
'attributes' => ['class' => 'navbar-item']
|
||||
],
|
||||
]
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user