Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0b7db51bfb | |||
| 4faedfa9b9 | |||
| 77989ab3d8 | |||
| 8b0b253f4a | |||
| 560669f316 | |||
| ea11a42efd | |||
| 0be29b5255 | |||
| 6f539f0605 | |||
| e91582f846 | |||
| e72b86c95a | |||
| 58feccb9d0 | |||
| 09484f45ca | |||
| 39bf55c815 | |||
| e8f7cce07b | |||
| 6fc93372a7 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -15,11 +15,18 @@
|
||||
{% include 'company/ad_breadcrumb.html.twig' with {'step': 3,'ad': answer.ad,'firstname':answer.user.firstname ,'lastname':answer.user.lastname} %}
|
||||
<div class="col s12 m6">
|
||||
<div id="mini-profil-block">
|
||||
<a target="_blank" href="{{ path('talent_show',{'alias':answer.user.company.alias} ) }}">
|
||||
{% include 'talent/talent_picture.html.twig' with {
|
||||
'user' : answer.user
|
||||
} %}
|
||||
</a>
|
||||
<div>
|
||||
<div class="mini-profil-picture-name">{{ answer.user.firstname }} {{ answer.user.lastname }}</div>
|
||||
<div class="mini-profil-picture-name">
|
||||
<a target="_blank" href="{{ path('talent_show',{'alias':answer.user.company.alias} ) }}">
|
||||
{{ answer.user.firstname }} {{ answer.user.lastname }}
|
||||
<i class="fa fa-user-circle"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div>Recu le {{ answer.sendTime|date('d/m/Y') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
{% else %}#}
|
||||
<div class="embed-responsive embed-responsive-16by9">
|
||||
<div class="col s12">
|
||||
<iframe src="https://player.vimeo.com/video/{{ ad.video.cdnUrl|replace({ "/videos/": ""}) }}"
|
||||
<iframe src="https://player.vimeo.com/video/{{ ad.video.cdnUrl|replace({ "/videos/": ""}) }}?texttrack=fr"
|
||||
width="100%" height="640" frameborder="0" webkitallowfullscreen mozallowfullscreen
|
||||
allowfullscreen></iframe>
|
||||
</div>
|
||||
@@ -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
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<h2>Détail de mon annonce</h2>
|
||||
<div>
|
||||
<div>
|
||||
<a href="{{ path('ad_show',{'alias': ad.alias }) }}" title="{{ ad.title }}" class="item-list-media">
|
||||
<a href="{{ absolute_url(path('ad_show',{'alias': ad.alias })) }}" title="{{ ad.title }}" class="item-list-media">
|
||||
{% if ad.video %}
|
||||
{% if ad.video.thumbnails.0.sizes is defined %}
|
||||
<img width="100%" src="{{ ad.video.thumbnails.0.sizes.4.link }}"
|
||||
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<h3>
|
||||
<a href="{{ path('ad_show',{'alias': ad.alias }) }}"
|
||||
<a href="{{ absolute_url(path('ad_show',{'alias': ad.alias })) }}"
|
||||
title="{{ ad.title }}">{{ ad.title }}</a>
|
||||
</h3>
|
||||
<p>
|
||||
@@ -40,10 +40,10 @@
|
||||
</p>
|
||||
{% endif %}
|
||||
<p>Entité :
|
||||
<a href="{{ path('company_show',{'alias': ad.company.alias }) }}">{{ ad.company.brandName }}</a>
|
||||
<a href="{{ absolute_url(path('company_show',{'alias': ad.company.alias })) }}">{{ ad.company.brandName }}</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ path('ad_show',{'alias': ad.alias }) }}" title="{{ ad.title }}" class="btn btn-default">Voir
|
||||
<a href="{{ absolute_url(path('ad_show',{'alias': ad.alias })) }}" title="{{ ad.title }}" class="btn btn-default">Voir
|
||||
l'offre d'emploi</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<br/>
|
||||
<br/>
|
||||
<div style="text-align:center;">
|
||||
<a class="btn btn-default" href="{{ path('talent_ad_detail',{'alias': answer.ad.alias,'id': answer.id }) }}">Visionner la réponse vidéo</a>
|
||||
<a class="btn btn-default" href="{{ absolute_url(path('talent_ad_detail',{'alias': answer.ad.alias,'id': answer.id })) }}">Visionner la réponse vidéo</a>
|
||||
</div>
|
||||
{% else %}
|
||||
<br />
|
||||
@@ -26,7 +26,7 @@
|
||||
<br/>
|
||||
<br/>
|
||||
<div style="text-align:center;">
|
||||
<a class="btn btn-default" href="{{ path('talent_ad_detail',{'alias': answer.ad.alias,'id': answer.id }) }}">Consulter la réponse</a>
|
||||
<a class="btn btn-default" href="{{ absolute_url(path('talent_ad_detail',{'alias': answer.ad.alias,'id': answer.id })) }}">Consulter la réponse</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<br>
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
<div id="preview_video">
|
||||
{% if video is defined %}
|
||||
{% if video is not null %}
|
||||
<iframe src="https://player.vimeo.com{{ video.getCdnUrl()|replace({ "videos": "video"}) }}" width="100%" height="300px" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
||||
<iframe
|
||||
src="https://player.vimeo.com{{ video.getCdnUrl()|replace({ "videos": "video"}) }}"
|
||||
width="100%" height="300px" frameborder="0"
|
||||
webkitallowfullscreen mozallowfullscreen allowfullscreen>
|
||||
</iframe>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -159,6 +159,7 @@ class MediaManager
|
||||
$nameVimeo = $response['body']['name'];
|
||||
$linkVimeo = $response['body']['link'];
|
||||
}
|
||||
//TODO : gerer le cas d'erreur
|
||||
}
|
||||
|
||||
//SAVE MEDIA
|
||||
|
||||
@@ -15860,6 +15860,11 @@ span.titleVideo {
|
||||
/* Dashboard company - messages */
|
||||
#mini-profil-block {
|
||||
margin-bottom: 20px; }
|
||||
#mini-profil-block .mini-profil-picture-name a {
|
||||
color: #232323; }
|
||||
#mini-profil-block .mini-profil-picture-name a:hover {
|
||||
color: #155ee4;
|
||||
text-decoration: none; }
|
||||
|
||||
.message-answer {
|
||||
margin-top: 45px;
|
||||
@@ -16955,3 +16960,5 @@ tbody td {
|
||||
border-top: 1px solid #F2F3F5; }
|
||||
#talent-show .talent-border-left {
|
||||
border-left: 1px solid #F2F3F5; }
|
||||
|
||||
/*# sourceMappingURL=styles.css.map */
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -34,9 +34,9 @@ if ($("#dropzone-row").length) {
|
||||
$('.meter').show();
|
||||
});
|
||||
self.on("success", function (file, response) {
|
||||
if($('.dashboardCompanyWrapper').length == 0){
|
||||
location.reload();
|
||||
} else {
|
||||
// if($('.dashboardCompanyWrapper').length == 0){
|
||||
// location.reload();
|
||||
// } else {
|
||||
if (response.success == 200) {
|
||||
$('#preview_video').html('<div class="green center-align" style="border-radius:10px;padding:20px;color:#FFF;">Votre vidéo a été bien enregistrée.</div>')
|
||||
//CAS VIDEO NON ATTACHEE
|
||||
@@ -60,7 +60,7 @@ if ($("#dropzone-row").length) {
|
||||
} else {
|
||||
$('#preview_video').html('<div class="red" style="margin:0 0 0 20px;padding:20px;color:#FFF;">Une erreur est survenue,<br /> veuillez réessayer, si le problème persiste merci de contacter talentstube.</div>')
|
||||
}
|
||||
}
|
||||
// }
|
||||
$(window).unbind("beforeunload");
|
||||
});
|
||||
self.on("totaluploadprogress", function (progress) {
|
||||
|
||||
+14
-6
@@ -191,11 +191,11 @@
|
||||
this.recordedData = data;
|
||||
|
||||
this.addFileInfo(this.recordedData);
|
||||
|
||||
// store reference to recorded stream URL
|
||||
this.dispose();
|
||||
//ThomasB:T his one is not used in our solution so I let it be
|
||||
this.mediaURL = URL.createObjectURL(this.recordedData);
|
||||
|
||||
///ThomasB
|
||||
// notify listeners
|
||||
this.trigger('recordComplete');
|
||||
}
|
||||
@@ -886,7 +886,10 @@
|
||||
{
|
||||
URL.revokeObjectURL(this.streamURL);
|
||||
}
|
||||
this.streamURL = URL.createObjectURL(this.stream);
|
||||
//ThomasB:
|
||||
//this.streamURL = URL.createObjectURL(this.stream);
|
||||
this.mediaElement.srcObject=this.stream;
|
||||
///ThomasB
|
||||
this.load(this.streamURL);
|
||||
this.mediaElement.play();
|
||||
}
|
||||
@@ -1230,8 +1233,12 @@
|
||||
{
|
||||
URL.revokeObjectURL(this.extraAudioURL);
|
||||
}
|
||||
this.extraAudioURL = URL.createObjectURL(
|
||||
this.player().recordedData.audio);
|
||||
|
||||
//ThomasB:
|
||||
// this.extraAudioURL = URL.createObjectURL(
|
||||
// this.player().recordedData.audio);
|
||||
this.extraAudio.srcObject=this.player().recordedData.audio;
|
||||
///ThomasB
|
||||
this.extraAudio.src = this.extraAudioURL;
|
||||
|
||||
// pause extra audio when player pauses
|
||||
@@ -1761,7 +1768,8 @@
|
||||
{
|
||||
URL.revokeObjectURL(this.streamURL);
|
||||
}
|
||||
this.streamURL = URL.createObjectURL(this.stream);
|
||||
|
||||
this.mediaElement.srcObject=this.stream;
|
||||
this.load(this.streamURL);
|
||||
this.mediaElement.play();
|
||||
},
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -89,6 +89,13 @@
|
||||
|
||||
#mini-profil-block{
|
||||
margin-bottom: 20px;
|
||||
.mini-profil-picture-name a{
|
||||
color: $text;
|
||||
&:hover{
|
||||
color: $blue1;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.message-answer{
|
||||
|
||||
Reference in New Issue
Block a user