Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e91582f846 | |||
| e72b86c95a | |||
| 58feccb9d0 | |||
| 09484f45ca | |||
| 39bf55c815 | |||
| e8f7cce07b | |||
| 6fc93372a7 |
@@ -51,6 +51,11 @@
|
||||
OFFRE POURVUE
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if ad.id == 53 %}
|
||||
<div class="isPromoted">
|
||||
Traitement des candidatures vidéos
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -98,12 +103,14 @@
|
||||
</div>
|
||||
{% elseif not is_granted('ROLE_COMPANY') %}
|
||||
{% if not ad.isPromoted %}
|
||||
{% if ad.id != 53 %}
|
||||
<p class="item-detail-reply">
|
||||
<a title="postuler-bottom" href="{{ path('talent_answer_create',{'id': ad.getId()}) }}"
|
||||
class="btn btn-default">
|
||||
Postuler
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -57,12 +57,14 @@
|
||||
</div>
|
||||
{% elseif not is_granted('ROLE_COMPANY') %}
|
||||
{% if not ad.isPromoted %}
|
||||
{% if ad.id != 53 %}
|
||||
<p class="item-detail-reply">
|
||||
<a title="postuler-side" href="{{ path('talent_answer_create',{'id': ad.getId()}) }}"
|
||||
class="btn btn-default">
|
||||
Postuler
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div class="item-detail-ispromoted">
|
||||
Offre pourvue
|
||||
|
||||
@@ -26,7 +26,7 @@ class RecommendationController extends Controller
|
||||
{
|
||||
$user = $this->getUser();
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
$received = $em->getRepository('AppBundle:Recommendation')->findBy(array('user' => $user, 'isRemoved' => false));
|
||||
$received = $em->getRepository('AppBundle:Recommendation')->findBy(array('user' => $user,'status'=> 'SENDED','isRemoved' => false));
|
||||
$sended = $em->getRepository('AppBundle:Recommendation')->findBy(array('sender' => $user, 'isRemoved' => false));
|
||||
return $this->render('talent/recommendations_list.html.twig', [
|
||||
'received' => $received,
|
||||
|
||||
Reference in New Issue
Block a user