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 %}Howto{% endtrans %}

+ +

{% trans %}There are several ways to save an article:{% endtrans %}

+ +

{% trans %}Browser Addons{% endtrans %}

+ +

{% trans %}Mobile Apps{% endtrans %}

+ +

{% trans %}Bookmarklet{% 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 %} + +
+
+ +
+
+{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index 8a49190e8..2b32c2f9d 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig @@ -40,10 +40,11 @@ {% set currentRoute = app.request.attributes.get('_route') %}
  • {% trans %}unread{% endtrans %}
  • -
  • {% trans %}favorites{% endtrans %}
  • +
  • {% trans %}starred{% endtrans %}
  • {% trans %}archive{% endtrans %}
  • -
  • {% trans %}tags{% endtrans %}
  • +
  • {% trans %}tags{% endtrans %}
  • {% trans %}config{% endtrans %}
  • +
  • {% trans %}howto{% endtrans %}
  • {% trans %}logout{% endtrans %}