mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 13:06:22 +05:30
Fix draft listing
This commit is contained in:
parent
475bfc84d4
commit
61a75ee945
1 changed files with 2 additions and 0 deletions
|
|
@ -1088,6 +1088,7 @@ get('/admin/draft', function () {
|
||||||
'is_admin' => true,
|
'is_admin' => true,
|
||||||
'bodyclass' => 'admin-draft',
|
'bodyclass' => 'admin-draft',
|
||||||
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » Draft for: ' . $author->name,
|
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » Draft for: ' . $author->name,
|
||||||
|
'pagination' => has_pagination($total, $perpage, $page)
|
||||||
));
|
));
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
@ -1105,6 +1106,7 @@ get('/admin/draft', function () {
|
||||||
'is_admin' => true,
|
'is_admin' => true,
|
||||||
'bodyclass' => 'admin-draft',
|
'bodyclass' => 'admin-draft',
|
||||||
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » Draft for: ' . $author->name,
|
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » Draft for: ' . $author->name,
|
||||||
|
'pagination' => has_pagination($total, $perpage, $page)
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
$login = site_url() . 'login';
|
$login = site_url() . 'login';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue