Commit fda0b91e authored by Hermann Mayer's avatar Hermann Mayer

Added Twig Expression to the default Sidebar-Section 'Share'. Now facebook and…

Added Twig Expression to the default Sidebar-Section 'Share'. Now facebook and google+ buttons generate usefull links, on every page they are called.
parent 1dffff88
......@@ -73,8 +73,8 @@ Hat Ihnen diese Seite gefallen? Teilen Sie sie doch mit Ihren
Freunden und Bekannten über Googles Soziales Netzwerk oder über Facebook.
</p>
<p>
<a href="" class="btn btn-danger"><img src="{{ asset("bundles/jityhomepage/img/glyphicons_386_google_plus.png") }}" /> Google+</a>
<a href="" class="btn btn-primary"><img src="{{ asset("bundles/jityhomepage/img/glyphicons_390_facebook.png") }}" /> Facebook</a>
<a href="https://plus.google.com/share?url={{ url(app.request.attributes.get("_route"))|url_encode }}&hl=de" class="btn btn-danger"><img src="{{ asset("bundles/jityhomepage/img/glyphicons_386_google_plus.png") }}" /> Google+</a>
<a href="http://www.facebook.com/sharer.php?u={{ url(app.request.attributes.get("_route"))|url_encode }}&t=Hermann+Mayer" class="btn btn-primary"><img src="{{ asset("bundles/jityhomepage/img/glyphicons_390_facebook.png") }}" /> Facebook</a>
</p>')
->setSidebar($this->getReference('default-sidebar'))
;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment