diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 07931f582..09be1b74f 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php @@ -7,6 +7,16 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller; class StaticController extends Controller { + /** + * @Route("/howto", name="howto") + */ + public function howtoAction() + { + return $this->render( + 'WallabagCoreBundle:Static:howto.html.twig', + array() + ); + } /** * @Route("/about", name="about") */ diff --git a/src/Wallabag/CoreBundle/Resources/views/Static/howto.html.twig b/src/Wallabag/CoreBundle/Resources/views/Static/howto.html.twig new file mode 100644 index 000000000..f25acb5da --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/Static/howto.html.twig @@ -0,0 +1,28 @@ +{% extends "WallabagCoreBundle::layout.html.twig" %} + +{% block title %}{% trans %}Howto{% endtrans %}{% endblock %} + +{% block content %} +
{% trans %}There are several ways to save an article:{% endtrans %}
+ ++ {% trans %}Drag & drop this link to your bookmarks bar:{% endtrans %} {% trans %}bag it!{% endtrans %} +
+ +{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig new file mode 100644 index 000000000..245d14e31 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig @@ -0,0 +1,53 @@ +{% extends "WallabagCoreBundle::layout.html.twig" %} + +{% block title %}{% trans %}Howto{% endtrans %}{% endblock %} + +{% block content %} + +