Move disabled templates up a directory.

This commit is contained in:
Buster "Silver Eagle" Neece 2022-06-19 12:39:41 -05:00
parent fdd3f5c462
commit 7084860515
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
8 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ final class HlsStreamsAction
return $response->withRedirect((string)$request->getRouter()->fromHere('stations:hls:index'));
}
return $view->renderToResponse($response, 'stations/hls/disabled');
return $view->renderToResponse($response, 'stations/hls_disabled');
}
$router = $request->getRouter();

View File

@ -30,7 +30,7 @@ final class ProfileController
$view = $request->getView();
if (!$station->getIsEnabled()) {
return $view->renderToResponse($response, 'stations/profile/disabled');
return $view->renderToResponse($response, 'stations/profile_disabled');
}
// Statistics about backend playback.

View File

@ -26,7 +26,7 @@ final class OverviewAction
if (!$settings->isAnalyticsEnabled()) {
// The entirety of the dashboard can't be shown, so redirect user to the profile page.
return $request->getView()->renderToResponse($response, 'stations/reports/restricted');
return $request->getView()->renderToResponse($response, 'stations/reports_restricted');
}
$router = $request->getRouter();

View File

@ -51,7 +51,7 @@ final class StreamersAction
return $response->withRedirect((string)$request->getRouter()->fromHere('stations:streamers:index'));
}
return $view->renderToResponse($response, 'stations/streamers/disabled');
return $view->renderToResponse($response, 'stations/streamers_disabled');
}
$settings = $this->settingsRepo->readSettings();