+++ /dev/null
-<?php
-
-namespace Wallabag\CoreBundle\Controller;
-
-use Symfony\Bundle\FrameworkBundle\Controller\Controller;
-
-class FooterController extends Controller
-{
- /**
- * Display the footer.
- *
- * @return \Symfony\Component\HttpFoundation\Response
- */
- public function indexAction()
- {
- $addonsUrl = $this->container->getParameter('addons_url');
- $socialsUrl = $this->container->getParameter('socials_url');
-
- return $this->render(
- 'WallabagCoreBundle::footer.html.twig',
- [
- 'addonsUrl' => $addonsUrl,
- 'socialsUrl' => $socialsUrl,
- ]
- );
- }
-}
google_play: https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche
ios: https://itunes.apple.com/app/wallabag/id828331015?mt=8
windows: https://www.microsoft.com/store/apps/wallabag/9nblggh11646
- socials_url:
- twitter: https://twitter.com/wallabagapp
- google_plus: https://plus.google.com/+WallabagOrg/posts
- facebook: https://facebook.com/Wallabag
+++ /dev/null
-<footer class="page-footer cyan darken-2">
- <div class="footer-copyright">
- <div class="container">
- <p>{{ 'footer.wallabag.powered_by'|trans }} <a target="_blank" href="https://wallabag.org" class="grey-text text-lighten-4">wallabag</a></p>
- <a class="grey-text text-lighten-4 right" href="{{ path('about') }}">{{ 'footer.wallabag.about'|trans }}</a>
- </div>
- </div>
-</footer>
{% endblock %}
{% block footer %}
- {{ render(controller("WallabagCoreBundle:Footer:index")) }}
+ <footer class="page-footer cyan darken-2">
+ <div class="footer-copyright">
+ <div class="container">
+ <p>{{ 'footer.wallabag.powered_by'|trans }} <a target="_blank" href="https://wallabag.org" class="grey-text text-lighten-4">wallabag</a></p>
+ <a class="grey-text text-lighten-4 right" href="{{ path('about') }}">{{ 'footer.wallabag.about'|trans }}</a>
+ </div>
+ </div>
+ </footer>
{% endblock %}