Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

[Work in Progress] Adding LinkedIn Button #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<script src="//platform.linkedin.com/in.js" type="text/javascript">
api_key: ijosiamv6q2j
</script>
<script type="IN/Apply"
data-showText="false"
data-companyname="{{ job.user.companyName }}"
data-jobtitle="{{ job.title }}"
data-joblocation="{{ job.location }}"
data-logo="{{ job.user.companyLogo }}"
data-email="{{ job.user.email }}">
</script>
10 changes: 7 additions & 3 deletions src/AmsterdamPHP/JobBundle/Resources/views/Job/show.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<div class="row-fluid">
<section id="details" class="span8 pull-left" xmlns="http://www.w3.org/1999/html">
<div class="pull-right">
{% include 'AmsterdamPHPJobBundle:Job:_linkedin-button.html.twig' with {job: entity} %}
<a class="btn btn-primary contact-recruiter" href="mailto:{{ entity.user.email }}?subject={{entity.title}}">
<i class="icon-comment icon-large"></i> Contact poster
</a>
Expand Down Expand Up @@ -51,9 +52,12 @@
</dl>

<div class="pull-right">
<a class="btn btn-primary contact-recruiter" href="mailto:{{ entity.user.email }}?subject={{entity.title}}">
<i class="icon-comment icon-large"></i> Contact poster
</a>
{% include 'AmsterdamPHPJobBundle:Job:_linkedin-button.html.twig' with {job: entity} %}
<p class="text-right">
<a class="btn btn-primary contact-recruiter" href="mailto:{{ entity.user.email }}?subject={{entity.title}}">
<i class="icon-comment icon-large"></i> Contact poster
</a>
</p>
<p class="text-right">
<small><a href="{{ path('job_handle_report', { 'id': entity.id }) }}"><i class="icon-warning-sign"></i> Report abuse</a></small>
</p>
Expand Down