30/01/23 - 22h
parent
15be3f76a3
commit
48e5ee0262
|
@ -1456,12 +1456,14 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
<div className="mob_cross_sell_card_content">
|
<div className="mob_cross_sell_card_content">
|
||||||
|
|
||||||
<div className="mob_cross_sell_card_content_rating">
|
<div className="mob_cross_sell_card_content_rating">
|
||||||
|
{ JSON.parse(formation).note && String(JSON.parse(formation).note).length === 1 &&
|
||||||
|
parseInt(String(JSON.parse(formation).note)) <=5 &&
|
||||||
<Rating name="half-rating-reade"
|
<Rating name="half-rating-reade"
|
||||||
|
|
||||||
precision={0.5}
|
precision={0.5}
|
||||||
readOnly={true}
|
readOnly={true}
|
||||||
value={(String(JSON.parse(formation).note))}
|
value={(String(JSON.parse(formation).note))}
|
||||||
/>
|
/>}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mob_cross_sell_card_content_title">
|
<div className="mob_cross_sell_card_content_title">
|
||||||
|
@ -1626,11 +1628,13 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
<div className="block_sous_header_rate_title">
|
<div className="block_sous_header_rate_title">
|
||||||
|
|
||||||
<div className="rating">
|
<div className="rating">
|
||||||
<Rating name="half-rating-reade"
|
{ ratingvalue && String(ratingvalue).length === 1 &&
|
||||||
|
parseInt(String(ratingvalue)) <=5 &&
|
||||||
|
<Rating name="half-rating-reade"
|
||||||
|
|
||||||
precision={0.5}
|
precision={0.5}
|
||||||
value={ratingvalue}
|
value={ratingvalue}
|
||||||
/>
|
/>}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="sous_header_title">
|
<div className="sous_header_title">
|
||||||
|
@ -1815,6 +1819,18 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
}
|
}
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
|
{DetailTraining["plus_produit"] && <div className="block_info_page_pave_title_desc_long_text">
|
||||||
|
<div className="block_info_page_pave_title_desc_title ">
|
||||||
|
Points forts
|
||||||
|
</div>
|
||||||
|
{DetailTraining["pourqui"] && <div className="block_info_page_pave_title_desc_desc objectif_block">
|
||||||
|
{parse(String(DetailTraining["plus_produit"]))}
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
</div>}
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2126,11 +2142,15 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
<div className="sous_crossell_list_card_card_content">
|
<div className="sous_crossell_list_card_card_content">
|
||||||
|
|
||||||
<div className="sous_crossell_list_card_card_content_rating">
|
<div className="sous_crossell_list_card_card_content_rating">
|
||||||
<Rating name="half-rating-reade"
|
|
||||||
|
{ JSON.parse(formation).note && String(JSON.parse(formation).note).length === 1 &&
|
||||||
|
parseInt(String(JSON.parse(formation).note)) <=5 &&
|
||||||
|
|
||||||
|
<Rating name="half-rating-reade"
|
||||||
|
|
||||||
precision={0.5}
|
precision={0.5}
|
||||||
value={(String(JSON.parse(formation).note))}
|
value={(String(JSON.parse(formation).note))}
|
||||||
/>
|
/>}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="sous_crossell_list_card_card_content_title"> {parse(String(JSON.parse(formation).title)).substring(0, 50)}
|
<div className="sous_crossell_list_card_card_content_title"> {parse(String(JSON.parse(formation).title)).substring(0, 50)}
|
||||||
|
|
|
@ -271,18 +271,28 @@ const Formation = (props) => {
|
||||||
<div className="forma_rightbox"
|
<div className="forma_rightbox"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
if (props.formation.url && props.formation.url.length > 5) {
|
||||||
|
|
||||||
window.open(
|
window.open(
|
||||||
"/Display-Detail-formation/" + props.formation.internal_url,
|
props.formation.url,
|
||||||
'_blank'
|
'_blank'
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
window.open(
|
||||||
|
"/Display-Detail-formation/" + props.formation.internal_url,
|
||||||
|
'_blank'
|
||||||
|
);
|
||||||
|
}
|
||||||
}}>
|
}}>
|
||||||
<div className="p_forma">
|
<div className="p_forma">
|
||||||
<div className="div_row">
|
<div className="div_row">
|
||||||
|
|
||||||
<div className="div_row_gauche" style={{ "marginTop": "5px" }}>
|
<div className="div_row_gauche" style={{ "marginTop": "5px" }}>
|
||||||
|
{ props.formation.note && String(props.formation.note).length === 1 &&
|
||||||
|
parseInt(String(props.formation.note)) <=5 &&
|
||||||
|
|
||||||
<Rating name="half-rating-read" defaultValue={props.formation.note} precision={0.5} readOnly />
|
<Rating name="half-rating-read" defaultValue={props.formation.note} precision={0.5} readOnly />
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
<div className="div_row_droite div_row_droite_cpf">
|
<div className="div_row_droite div_row_droite_cpf">
|
||||||
<div className="block_cpf">
|
<div className="block_cpf">
|
||||||
|
@ -618,16 +628,24 @@ const Formation = (props) => {
|
||||||
|
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
if (props.formation.url && props.formation.url.length > 5) {
|
||||||
|
|
||||||
window.open(
|
window.open(
|
||||||
"/Display-Detail-formation/" + props.formation.internal_url + "/Information",
|
props.formation.url,
|
||||||
'_blank'
|
'_blank'
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
|
||||||
|
window.open(
|
||||||
|
"/Display-Detail-formation/" + props.formation.internal_url + "/Information",
|
||||||
|
'_blank'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
>Se renseigner</Button>
|
>Se renseigner </Button>
|
||||||
|
|
||||||
|
|
||||||
<Button className="bton_voir_detail"
|
<Button className="bton_voir_detail"
|
||||||
|
@ -635,11 +653,19 @@ const Formation = (props) => {
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
//test(props.formation.external_code);
|
//test(props.formation.external_code);
|
||||||
window.open(
|
|
||||||
"/Display-Detail-formation/" + props.formation.internal_url,
|
|
||||||
'_blank'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
if (props.formation.url && props.formation.url.length > 5) {
|
||||||
|
|
||||||
|
window.open(
|
||||||
|
props.formation.url,
|
||||||
|
'_blank'
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
window.open(
|
||||||
|
"/Display-Detail-formation/" + props.formation.internal_url,
|
||||||
|
'_blank'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
}}
|
}}
|
||||||
>Voir details</Button>
|
>Voir details</Button>
|
||||||
|
|
|
@ -1955,7 +1955,7 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
axios.post(myurl, form).then(res => {
|
axios.post(myurl, form).then(res => {
|
||||||
|
|
||||||
if (res.data.status != "false") {
|
if (String(res.data.status) === "true") {
|
||||||
//console.log(" In GetAttendee res.data.status = " + res.data.status);
|
//console.log(" In GetAttendee res.data.status = " + res.data.status);
|
||||||
console.log(" In GetAttendee res.data.message r_class = " + res.data.message);
|
console.log(" In GetAttendee res.data.message r_class = " + res.data.message);
|
||||||
setGetAttendee_api("true");
|
setGetAttendee_api("true");
|
||||||
|
@ -2376,8 +2376,8 @@ function GestionAdministrative(props) {
|
||||||
{(JSON.parse(session).date_debut).substring(0, 10)} au {(JSON.parse(session).date_fin).substring(0, 10)} -
|
{(JSON.parse(session).date_debut).substring(0, 10)} au {(JSON.parse(session).date_fin).substring(0, 10)} -
|
||||||
{(JSON.parse(session).distantiel) === "1" && " A Distance - "}
|
{(JSON.parse(session).distantiel) === "1" && " A Distance - "}
|
||||||
{(JSON.parse(session).presentiel) === "1" && (JSON.parse(session).adresse) && " En Présentiel - " + (JSON.parse(session).adresse)}
|
{(JSON.parse(session).presentiel) === "1" && (JSON.parse(session).adresse) && " En Présentiel - " + (JSON.parse(session).adresse)}
|
||||||
{(JSON.parse(session).presentiel) === "1" && (!JSON.parse(session).adresse) && " En Présentiel - " }
|
{(JSON.parse(session).presentiel) === "1" && (!JSON.parse(session).adresse) && " En Présentiel - "}
|
||||||
{(JSON.parse(session).code_postal) && " "+(JSON.parse(session).code_postal) }
|
{(JSON.parse(session).code_postal) && " " + (JSON.parse(session).code_postal)}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -3005,7 +3005,7 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
{String(display_detail_insc) === "1" && mysession && <div className="div_row" style={{ "border": "None", "background": '#F8F9F9', "padding": '5px' }}>
|
{String(display_detail_insc) === "1" && mysession && <div className="div_row" style={{ "border": "None", "background": '#F8F9F9', "padding": '5px' }}>
|
||||||
Detail inscription
|
Detail inscription
|
||||||
<div className="div_row" style={{ "border": "None" }}>
|
{String(GetAttendee_api) === "true" && <div className="div_row" style={{ "border": "None" }}>
|
||||||
<div className="div_row" style={{ "border": "None" }}>
|
<div className="div_row" style={{ "border": "None" }}>
|
||||||
|
|
||||||
<div className="session_data" >
|
<div className="session_data" >
|
||||||
|
@ -3366,7 +3366,13 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>}
|
||||||
|
|
||||||
|
{String(GetAttendee_api) === "false" && <div className="div_row koUpdateData">
|
||||||
|
{GetAttendee_message}
|
||||||
|
</div>}
|
||||||
|
|
||||||
|
|
||||||
</div>}
|
</div>}
|
||||||
</div>
|
</div>
|
||||||
<div className="pieddepage">
|
<div className="pieddepage">
|
||||||
|
|
Loading…
Reference in New Issue