15/05/23 - 23h
parent
615b9cad27
commit
957a2b4c7d
|
@ -1393,13 +1393,9 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
<div className="mob_info_page_title_desc_desc description_block">
|
<div className="mob_info_page_title_desc_desc description_block">
|
||||||
{parse(String(DetailTraining["description"]))}
|
{parse(String(DetailTraining["description"]))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{GetCurrentClass_result && GetCurrentClass_result.length > 0 &&
|
{GetCurrentClass_result && GetCurrentClass_result.length > 0 &&
|
||||||
<div className="mob_info_page_title_desc">
|
<div className="mob_info_page_title_desc">
|
||||||
|
|
||||||
|
@ -1411,10 +1407,11 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
<ul style={{ "width": "100%" }}>
|
<ul style={{ "width": "100%" }}>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{GetCurrentClass_result && GetCurrentClass_result.slice(0, 5).map((formation) => (
|
{GetCurrentClass_result && GetCurrentClass_result.slice(0, 5).map((formation) => (
|
||||||
<li style={{ "height": "2.8rem" }}>
|
<li style={{ "height": "2.8rem" }}>
|
||||||
|
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de formation à la demande</nav>}
|
||||||
|
|
||||||
|
{( !(JSON.parse(formation).session_ondemande) || (JSON.parse(formation).session_ondemande) === "0") && <nav>
|
||||||
{(JSON.parse(formation).distantiel) === "1" && (JSON.parse(formation).presentiel) === "1" &&
|
{(JSON.parse(formation).distantiel) === "1" && (JSON.parse(formation).presentiel) === "1" &&
|
||||||
(JSON.parse(formation).date_debut).substring(0, 10) !== (JSON.parse(formation).date_fin).substring(0, 10) &&
|
(JSON.parse(formation).date_debut).substring(0, 10) !== (JSON.parse(formation).date_fin).substring(0, 10) &&
|
||||||
<nav>
|
<nav>
|
||||||
|
@ -1462,7 +1459,7 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
{(JSON.parse(formation).adresse)} {(JSON.parse(formation).code_postal)}
|
{(JSON.parse(formation).adresse)} {(JSON.parse(formation).code_postal)}
|
||||||
</nav>}
|
</nav>}
|
||||||
|
|
||||||
|
</nav>}
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
))}
|
))}
|
||||||
|
@ -1865,7 +1862,7 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
|
|
||||||
<div className="block_info_page_pave_title_desc">
|
<div className="block_info_page_pave_title_desc">
|
||||||
<div className="block_info_page_pave_title_desc_title">
|
<div className="block_info_page_pave_title_desc_title">
|
||||||
Description
|
Description
|
||||||
</div>
|
</div>
|
||||||
{DetailTraining["description"] && <div className="block_info_page_pave_title_desc description_block">
|
{DetailTraining["description"] && <div className="block_info_page_pave_title_desc description_block">
|
||||||
{parse(String(DetailTraining["description"]))}
|
{parse(String(DetailTraining["description"]))}
|
||||||
|
@ -1884,15 +1881,15 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
<div className="block_info_page_pave_title_desc_desc session_block">
|
<div className="block_info_page_pave_title_desc_desc session_block">
|
||||||
<ul style={{ "width": "100%" }}>
|
<ul style={{ "width": "100%" }}>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{GetCurrentClass_result && GetCurrentClass_result.slice(0, 5).map((formation) => (
|
{GetCurrentClass_result && GetCurrentClass_result.slice(0, 5).map((formation) => (
|
||||||
|
|
||||||
|
|
||||||
<li style={{ "height": "2.8rem" }}>
|
<li style={{ "height": "2.8rem" }}>
|
||||||
|
|
||||||
|
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de formation à la demande</nav>}
|
||||||
|
|
||||||
{(JSON.parse(formation).distantiel) === "1" && (JSON.parse(formation).presentiel) === "1" &&
|
{( !(JSON.parse(formation).session_ondemande) || (JSON.parse(formation).session_ondemande) === "0") && <nav>
|
||||||
|
{(JSON.parse(formation).distantiel) === "1" && (JSON.parse(formation).presentiel) === "1" &&
|
||||||
(JSON.parse(formation).date_debut).substring(0, 10) !== (JSON.parse(formation).date_fin).substring(0, 10) &&
|
(JSON.parse(formation).date_debut).substring(0, 10) !== (JSON.parse(formation).date_fin).substring(0, 10) &&
|
||||||
<nav>
|
<nav>
|
||||||
{(JSON.parse(formation).date_debut).substring(0, 10)} au
|
{(JSON.parse(formation).date_debut).substring(0, 10)} au
|
||||||
|
@ -1939,7 +1936,7 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
{(JSON.parse(formation).adresse)} {(JSON.parse(formation).code_postal)}
|
{(JSON.parse(formation).adresse)} {(JSON.parse(formation).code_postal)}
|
||||||
</nav>}
|
</nav>}
|
||||||
|
|
||||||
|
</nav>}
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
))}
|
))}
|
||||||
|
@ -2068,7 +2065,7 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
{String(ismetiermanaged) === "1" && <div className="">
|
{String(ismetiermanaged) === "1" && <div className="">
|
||||||
<img src={DetailTraining.img_url} alt="autre" className="" style={{"maxWidth":"100%"}} />
|
<img src={DetailTraining.img_url} alt="autre" className="" style={{ "maxWidth": "100%" }} />
|
||||||
|
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue