Compare commits
6 Commits
2.9.2.3
...
2.10.5_prod
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c797c884a | |||
| 96c4c726b4 | |||
| a20990ec04 | |||
| 684ecd94b1 | |||
| b6b473d54f | |||
| 1616739b78 |
@@ -65,7 +65,7 @@
|
||||
©2017-2021 Talents Tube
|
||||
</p>
|
||||
<p class="small no-margin pull-right sm-pull-reset">
|
||||
Besoin d'aide ? 02 30 05 06 31
|
||||
Besoin d'aide ? 07 56 85 27 36
|
||||
</p>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@
|
||||
©2017-2021 Talents Tube
|
||||
</p>
|
||||
<p class="small no-margin pull-right sm-pull-reset">
|
||||
Besoin d'aide ? 02 30 05 06 31
|
||||
Besoin d'aide ? 07 56 85 27 36
|
||||
</p>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
<h1>
|
||||
Modification d'un talent
|
||||
<small>{{ user.firstname }} {{ user.lastname }}</small>
|
||||
<a class="delete-user" href="{{ path('admin_user_delete',{'id':user.id}) }}" data-toggle="tooltip" title="Supprimer">
|
||||
<i class="fa fa-trash"></i>
|
||||
</a>
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ path('admin_dashboard') }}"><i class="fa fa-dashboard"></i> Dashboard</a></li>
|
||||
|
||||
@@ -49,11 +49,9 @@
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
|
||||
{% endblock %}
|
||||
{% if app.environment == "dev" %}
|
||||
{# A ENLEVER EN PROD #}
|
||||
{# <meta name="robots" content="noindex,nofollow"> #}
|
||||
{% else %}
|
||||
{# <meta name="robots" content="noindex,nofollow"> #}
|
||||
{% endif %}
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
<!-- Required Meta Tags Always Come First -->
|
||||
<meta charset="utf-8">
|
||||
|
||||
{% if app.environment == "dev" %}
|
||||
|
||||
{# A ENLEVER EN PROD #}
|
||||
{# <meta name="robots" content="noindex,nofollow"> #}
|
||||
{% else %}
|
||||
{# <meta name="robots" content="noindex,nofollow"> #}
|
||||
{% endif %}
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
{% block meta %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</p>
|
||||
<h5 class="white-text">Contactez-nous !</h5>
|
||||
<a class="white-text" href="mailto:bonjour@talentstube.com">Par mail</a>
|
||||
<p class="white-text">02 30 05 06 31</p>
|
||||
<p class="white-text">07 56 85 27 36</p>
|
||||
<p class="footer-newsletter">
|
||||
<a class="btn-large btn-round" href="#" title="Newsletter" data-token="ecea5416671e97e3abfa8195848a9140" onclick="mjOpenPopin(event, this)">
|
||||
<i class="fa fa-envelope-open-o left" aria-hidden="true"></i>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</p>
|
||||
<h5 class="white-text">Contactez-nous !</h5>
|
||||
<a class="white-text" href="mailto:bonjour@talentstube.com">Par mail</a>
|
||||
<p class="white-text">02 30 05 06 31</p>
|
||||
<p class="white-text">07 56 85 27 36/p>
|
||||
<p class="footer-newsletter">
|
||||
<a class="btn-large btn-round" href="#" title="Newsletter" data-token="ecea5416671e97e3abfa8195848a9140" onclick="mjOpenPopin(event, this)">
|
||||
<i class="fa fa-envelope-open-o left" aria-hidden="true"></i>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</p>
|
||||
<h5 class="white-text">Contactez-nous !</h5>
|
||||
<a class="white-text" href="mailto:bonjour@talentstube.com">Par mail</a>
|
||||
<p class="white-text">02 30 05 06 31</p>
|
||||
<p class="white-text">07 56 85 27 36</p>
|
||||
<p class="footer-newsletter">
|
||||
<a class="btn-large btn-round" href="#" title="Newsletter" data-token="ecea5416671e97e3abfa8195848a9140" onclick="mjOpenPopin(event, this)">
|
||||
<i class="fa fa-envelope-open-o left" aria-hidden="true"></i>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<p>Talents Tube est joignable :</p>
|
||||
<p>- Par internet : via le **formulaire de contact** </p>
|
||||
<p>- Par téléphone au 02 30 05 06 31, du lundi au vendredi de 9 h à 18 h;</p>
|
||||
<p>- Par téléphone au 07 56 85 27 36, du lundi au vendredi de 9 h à 18 h;</p>
|
||||
<p>- Par voie postale :</p>
|
||||
<p>Talents Tube</p>
|
||||
<p>3 Rue Louis de Broglie</p>
|
||||
|
||||
@@ -80,7 +80,7 @@ twig:
|
||||
globals:
|
||||
push_public_key: "%push_params.public_key%"
|
||||
fairlane_cookie_consent: '@fairlane_cookie_consent.twig'
|
||||
version: '2.9.2'
|
||||
version: '2.10.4'
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ class UserController extends Controller
|
||||
// }
|
||||
//$em->flush();
|
||||
|
||||
return $this->redirectToRoute('admin_config_others_user');
|
||||
return $this->redirectToRoute('admin_config_talent');
|
||||
}
|
||||
|
||||
public function deleteRelation($user)
|
||||
|
||||
@@ -320,7 +320,7 @@ class AnswerController extends FOSRestController
|
||||
$usr->getUsername();
|
||||
|
||||
$file = $request->files->get('upload');
|
||||
$status = array('status' => "success", "fileUploaded" => false);
|
||||
$status = array('statusPres' => "failure", "fileUploaded" => false);
|
||||
//dump($file);
|
||||
// If a file was uploaded
|
||||
if (!is_null($file)) {
|
||||
@@ -332,7 +332,7 @@ class AnswerController extends FOSRestController
|
||||
// $filename = uniqid().".".$file->getClientOriginalExtension();
|
||||
// $path = "/path/where/we/want-to-save-the-file";
|
||||
// $file->move($path,$filename); // move the file to a path
|
||||
$status = array('status' => "success", "fileUploaded" => true, "message" => $message);
|
||||
$status = array('statusPres' => "success", "fileUploaded" => true, "message" => $message);
|
||||
}
|
||||
|
||||
return new JsonResponse($status);
|
||||
@@ -368,7 +368,7 @@ class AnswerController extends FOSRestController
|
||||
$company = $usr->getCompany();
|
||||
|
||||
$file = $request->files->get('upload');
|
||||
$status = array('status' => "success", "companyUpdated" => false);
|
||||
$status = array('status' => "success",'statusCv' => "failure", "companyUpdated" => false, "loadingCv" => false);
|
||||
//dump($file);
|
||||
// If a file was uploaded
|
||||
//TODO Controle sur l'extension du fichier (pdf, word)
|
||||
@@ -382,7 +382,7 @@ class AnswerController extends FOSRestController
|
||||
// $filename = uniqid().".".$file->getClientOriginalExtension();
|
||||
// $path = "/path/where/we/want-to-save-the-file";
|
||||
// $file->move($path,$filename); // move the file to a path
|
||||
$status = array('status' => "success", "companyUpdated" => true, "message" => $message);
|
||||
$status = array('status' => "success", 'statusCv' => "success", "companyUpdated" => true, "message" => $message, "loadingCv" => true);
|
||||
}
|
||||
|
||||
return new JsonResponse($status);
|
||||
|
||||
@@ -399,7 +399,7 @@ class CompanyController extends FOSRestController
|
||||
|
||||
$mj = new Client($this->getParameter('mailjet_public'), $this->getParameter('mailjet_private'));
|
||||
// $link = $this->generateUrl('company_answer_show', array('id' => $existAnswer->getId()), UrlGeneratorInterface::ABSOLUTE_URL);
|
||||
$contactMail = "contact@talentstube.com";
|
||||
$contactMail = $user->getEmail();
|
||||
if ($this->container->get( 'kernel' )->getEnvironment() == "dev") {
|
||||
$contactMail = "contact@talentstube.com";
|
||||
}
|
||||
|
||||
@@ -229,8 +229,7 @@ class Ad
|
||||
* @var array
|
||||
*
|
||||
* @ORM\Column(name="extra", type="json_document", nullable=true, options={"jsonb":true})
|
||||
*
|
||||
* @Groups({"ad_detail", "ad_list", "answer_detail", "company_detail"})
|
||||
* @Groups({"ad_detail", "ad_list", "answer_detail", "company_detail","answer_list"})
|
||||
*
|
||||
*/
|
||||
private $extra;
|
||||
@@ -240,7 +239,7 @@ class Ad
|
||||
*
|
||||
* @ORM\Column(name="location", type="json_document", nullable=true, options={"jsonb":true})
|
||||
*
|
||||
* @Groups({"ad_detail", "ad_list","answer_detail", "company_detail"})
|
||||
* @Groups({"ad_detail", "ad_list","answer_detail", "company_detail","answer_list"})
|
||||
*/
|
||||
private $location;
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ class Answer
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="status_reponse", type="string", length=255, nullable=true, options={"default":"A_TRAITER"})
|
||||
*
|
||||
* @Groups({"answer_detail","answer_list"})
|
||||
*/
|
||||
private $statusReponse ='A_TRAITER';
|
||||
|
||||
|
||||
@@ -11,8 +11,7 @@ trait ExtraJsonTrait
|
||||
* @var array
|
||||
*
|
||||
* @ORM\Column(name="extra", type="json_document", nullable=true)
|
||||
*
|
||||
* @Groups({"ad_detail" , "company_detail", "company_list"})
|
||||
* @Groups({"answer_detail","answer_list", "ad_detail" , "company_detail", "company_list"})
|
||||
*/
|
||||
private $extra;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user