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_rating">
|
||||
{ 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}
|
||||
readOnly={true}
|
||||
value={(String(JSON.parse(formation).note))}
|
||||
/>
|
||||
/>}
|
||||
</div>
|
||||
|
||||
<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="rating">
|
||||
<Rating name="half-rating-reade"
|
||||
{ ratingvalue && String(ratingvalue).length === 1 &&
|
||||
parseInt(String(ratingvalue)) <=5 &&
|
||||
<Rating name="half-rating-reade"
|
||||
|
||||
precision={0.5}
|
||||
value={ratingvalue}
|
||||
/>
|
||||
/>}
|
||||
</div>
|
||||
|
||||
<div className="sous_header_title">
|
||||
|
@ -1815,6 +1819,18 @@ const DisplayDetailClass_new_v2 = (props) => {
|
|||
}
|
||||
</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>
|
||||
|
||||
|
@ -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_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}
|
||||
value={(String(JSON.parse(formation).note))}
|
||||
/>
|
||||
/>}
|
||||
</div>
|
||||
|
||||
<div className="sous_crossell_list_card_card_content_title"> {parse(String(JSON.parse(formation).title)).substring(0, 50)}
|
||||
|
|
|
@ -271,24 +271,34 @@ const Formation = (props) => {
|
|||
<div className="forma_rightbox"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
if (props.formation.url && props.formation.url.length > 5) {
|
||||
|
||||
window.open(
|
||||
"/Display-Detail-formation/" + props.formation.internal_url,
|
||||
'_blank'
|
||||
);
|
||||
|
||||
window.open(
|
||||
props.formation.url,
|
||||
'_blank'
|
||||
);
|
||||
} else {
|
||||
window.open(
|
||||
"/Display-Detail-formation/" + props.formation.internal_url,
|
||||
'_blank'
|
||||
);
|
||||
}
|
||||
}}>
|
||||
<div className="p_forma">
|
||||
<div className="div_row">
|
||||
|
||||
<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 />
|
||||
}
|
||||
</div>
|
||||
<div className="div_row_droite div_row_droite_cpf">
|
||||
<div className="block_cpf">
|
||||
<div className="block_cpf_txt">
|
||||
|
||||
|
||||
|
||||
{props.formation.cpf && String(props.formation.cpf) === String("1") &&
|
||||
<div>
|
||||
OUI Éligible au CPF
|
||||
|
@ -618,16 +628,24 @@ const Formation = (props) => {
|
|||
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
if (props.formation.url && props.formation.url.length > 5) {
|
||||
|
||||
window.open(
|
||||
"/Display-Detail-formation/" + props.formation.internal_url + "/Information",
|
||||
'_blank'
|
||||
);
|
||||
window.open(
|
||||
props.formation.url,
|
||||
'_blank'
|
||||
);
|
||||
} else {
|
||||
|
||||
window.open(
|
||||
"/Display-Detail-formation/" + props.formation.internal_url + "/Information",
|
||||
'_blank'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}}
|
||||
|
||||
>Se renseigner</Button>
|
||||
>Se renseigner </Button>
|
||||
|
||||
|
||||
<Button className="bton_voir_detail"
|
||||
|
@ -635,11 +653,19 @@ const Formation = (props) => {
|
|||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
//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>
|
||||
|
|
|
@ -1955,7 +1955,7 @@ function GestionAdministrative(props) {
|
|||
|
||||
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.message r_class = " + res.data.message);
|
||||
setGetAttendee_api("true");
|
||||
|
@ -2376,10 +2376,10 @@ function GestionAdministrative(props) {
|
|||
{(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).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).code_postal) && " "+(JSON.parse(session).code_postal) }
|
||||
|
||||
|
||||
{(JSON.parse(session).presentiel) === "1" && (!JSON.parse(session).adresse) && " En Présentiel - "}
|
||||
{(JSON.parse(session).code_postal) && " " + (JSON.parse(session).code_postal)}
|
||||
|
||||
|
||||
|
||||
|
||||
</option>
|
||||
|
@ -3005,7 +3005,7 @@ function GestionAdministrative(props) {
|
|||
|
||||
{String(display_detail_insc) === "1" && mysession && <div className="div_row" style={{ "border": "None", "background": '#F8F9F9', "padding": '5px' }}>
|
||||
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="session_data" >
|
||||
|
@ -3366,7 +3366,13 @@ function GestionAdministrative(props) {
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>}
|
||||
|
||||
{String(GetAttendee_api) === "false" && <div className="div_row koUpdateData">
|
||||
{GetAttendee_message}
|
||||
</div>}
|
||||
|
||||
|
||||
</div>}
|
||||
</div>
|
||||
<div className="pieddepage">
|
||||
|
|
Loading…
Reference in New Issue