1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-27 17:28:39 +00:00

Remove LiipThemeBundle

As baggy theme was removed and material is the only remaining theme, we don't need a theme switched anymore.
So:
- move all `*.twig` files from the material theme folder to the root
- remove useless translations
This commit is contained in:
Jeremy Benoist 2022-11-23 14:49:52 +01:00
parent 827ba15255
commit 1d3935fbd3
No known key found for this signature in database
GPG key ID: 7168D5DD29F38552
89 changed files with 78 additions and 396 deletions

View file

@ -25,7 +25,7 @@ class DeveloperController extends Controller
{
$clients = $this->getDoctrine()->getRepository(Client::class)->findByUser($this->getUser()->getId());
return $this->render('@WallabagCore/themes/common/Developer/index.html.twig', [
return $this->render('@WallabagCore/Developer/index.html.twig', [
'clients' => $clients,
]);
}
@ -54,14 +54,14 @@ class DeveloperController extends Controller
$this->get(TranslatorInterface::class)->trans('flashes.developer.notice.client_created', ['%name%' => $client->getName()])
);
return $this->render('@WallabagCore/themes/common/Developer/client_parameters.html.twig', [
return $this->render('@WallabagCore/Developer/client_parameters.html.twig', [
'client_id' => $client->getPublicId(),
'client_secret' => $client->getSecret(),
'client_name' => $client->getName(),
]);
}
return $this->render('@WallabagCore/themes/common/Developer/client.html.twig', [
return $this->render('@WallabagCore/Developer/client.html.twig', [
'form' => $clientForm->createView(),
]);
}
@ -100,6 +100,6 @@ class DeveloperController extends Controller
*/
public function howtoFirstAppAction()
{
return $this->render('@WallabagCore/themes/common/Developer/howto_app.html.twig');
return $this->render('@WallabagCore/Developer/howto_app.html.twig');
}
}