diff --git a/lib/Alchemy/Phrasea/Controller/Client/RootController.php b/lib/Alchemy/Phrasea/Controller/Client/RootController.php index cae4859a3e..0aa549abea 100644 --- a/lib/Alchemy/Phrasea/Controller/Client/RootController.php +++ b/lib/Alchemy/Phrasea/Controller/Client/RootController.php @@ -45,8 +45,6 @@ class RootController extends Controller */ public function getClientAction(Request $request) { - $this->getSession()->getFlashBag()->add('client_deprecated', ''); - if (!$this->getAuthenticator()->isAuthenticated() && null !== $request->query->get('nolog')) { return $this->app->redirectPath('login_authenticate_as_guest', ['redirect' => 'client']); } @@ -54,6 +52,8 @@ class RootController extends Controller return $response; } + $this->getSession()->getFlashBag()->add('step_by_step', ''); + return $this->app->redirect($this->app->path('prod', array('client'))); } } diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index 59ab26440b..239060a0c2 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -171,20 +171,6 @@
- {% if app.flash('client_deprecated') %} - - - {% endif %} {% set ratio = app['settings'].getUserSetting(app.getAuthenticatedUser(), 'search_window') %} {% if ratio == 0 %} {% set ratio = '0.333' %} @@ -893,6 +879,88 @@ {% endif %} + {% if step %} + + {% endif %} +