mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
feat(ux): remove admin dashboard and redirect directly to podcast list
As there is currently no info on the dashboard, it is unnecessary for now
This commit is contained in:
parent
2d297f45b3
commit
27c48b8fa9
@ -12,6 +12,7 @@ class Home extends BaseController
|
|||||||
{
|
{
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
return view('admin/dashboard');
|
session()->keepFlashdata('message');
|
||||||
|
return redirect()->route('podcast-list');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,10 +54,7 @@ function get_rss_feed($podcast, $serviceSlug = '')
|
|||||||
'lastBuildDate',
|
'lastBuildDate',
|
||||||
(new Time('now'))->format(DATE_RFC1123),
|
(new Time('now'))->format(DATE_RFC1123),
|
||||||
);
|
);
|
||||||
$channel->addChild(
|
$channel->addChild('generator', 'Castopod Host - https://castopod.org/');
|
||||||
'generator',
|
|
||||||
'Castopod 0.0.0-development - https://castopod.org/',
|
|
||||||
);
|
|
||||||
$channel->addChild('docs', 'https://cyber.harvard.edu/rss/rss.html');
|
$channel->addChild('docs', 'https://cyber.harvard.edu/rss/rss.html');
|
||||||
|
|
||||||
$channel->addChild('title', $podcast->title);
|
$channel->addChild('title', $podcast->title);
|
||||||
|
0
app/Views/_assets/icons/dashboard.svg
Executable file → Normal file
0
app/Views/_assets/icons/dashboard.svg
Executable file → Normal file
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 213 B |
@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
$navigation = [
|
$navigation = [
|
||||||
'dashboard' => ['icon' => 'dashboard', 'items' => ['admin']],
|
|
||||||
'podcasts' => [
|
'podcasts' => [
|
||||||
'icon' => 'mic',
|
'icon' => 'mic',
|
||||||
'items' => ['podcast-list', 'podcast-create', 'podcast-import'],
|
'items' => ['podcast-list', 'podcast-create', 'podcast-import'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user