]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Remove FooterController 2287/head
authorNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 15 Sep 2016 09:11:24 +0000 (11:11 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 15 Sep 2016 09:11:24 +0000 (11:11 +0200)
src/Wallabag/CoreBundle/Controller/FooterController.php [deleted file]
src/Wallabag/CoreBundle/Resources/config/parameters.yml
src/Wallabag/CoreBundle/Resources/views/themes/material/footer.html.twig [deleted file]
src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig

diff --git a/src/Wallabag/CoreBundle/Controller/FooterController.php b/src/Wallabag/CoreBundle/Controller/FooterController.php
deleted file mode 100644 (file)
index fd93c43..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?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,
-            ]
-        );
-    }
-}
index abd9ab6893ae7ca28bb6a10aa79083f0cd055338..6068e84cd80081200549c00bd3006533d2818a0f 100644 (file)
@@ -6,7 +6,3 @@ parameters:
         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
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/footer.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/footer.html.twig
deleted file mode 100644 (file)
index 977f2e0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<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>
index b70198da6bc68f3a9586e583c9fcbd14a2da19ce..72becfa480de1325dd73208c707c7ef084e7ec16 100644 (file)
 {% 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 %}