mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 11:31:05 +00:00
Remove FooterController
This commit is contained in:
parent
d49c88f15a
commit
e77cde4531
4 changed files with 8 additions and 40 deletions
|
@ -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,
|
|
||||||
]
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -6,7 +6,3 @@ parameters:
|
||||||
google_play: https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche
|
google_play: https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche
|
||||||
ios: https://itunes.apple.com/app/wallabag/id828331015?mt=8
|
ios: https://itunes.apple.com/app/wallabag/id828331015?mt=8
|
||||||
windows: https://www.microsoft.com/store/apps/wallabag/9nblggh11646
|
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
|
|
||||||
|
|
|
@ -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>
|
|
|
@ -117,5 +117,12 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block footer %}
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue