From bece3781f10d1003b74f08d41f284bed8a586956 Mon Sep 17 00:00:00 2001 From: Rafael Dohms Date: Wed, 1 May 2013 14:52:56 +0200 Subject: [PATCH] Adding LinkedIn Button - Added button with valid API key - working on display --- .../Resources/views/Job/_linkedin-button.html.twig | 11 +++++++++++ .../JobBundle/Resources/views/Job/show.html.twig | 10 +++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 src/AmsterdamPHP/JobBundle/Resources/views/Job/_linkedin-button.html.twig diff --git a/src/AmsterdamPHP/JobBundle/Resources/views/Job/_linkedin-button.html.twig b/src/AmsterdamPHP/JobBundle/Resources/views/Job/_linkedin-button.html.twig new file mode 100644 index 0000000..d65e912 --- /dev/null +++ b/src/AmsterdamPHP/JobBundle/Resources/views/Job/_linkedin-button.html.twig @@ -0,0 +1,11 @@ + + diff --git a/src/AmsterdamPHP/JobBundle/Resources/views/Job/show.html.twig b/src/AmsterdamPHP/JobBundle/Resources/views/Job/show.html.twig index c40f5d1..8f40416 100644 --- a/src/AmsterdamPHP/JobBundle/Resources/views/Job/show.html.twig +++ b/src/AmsterdamPHP/JobBundle/Resources/views/Job/show.html.twig @@ -19,6 +19,7 @@
+ {% include 'AmsterdamPHPJobBundle:Job:_linkedin-button.html.twig' with {job: entity} %} Contact poster @@ -51,9 +52,12 @@
- - Contact poster - + {% include 'AmsterdamPHPJobBundle:Job:_linkedin-button.html.twig' with {job: entity} %} +

+ + Contact poster + +

Report abuse