09/01/23 - 19h00
parent
8ab39f2ce6
commit
fa8dbd6741
|
@ -10,6 +10,7 @@ import Recherche_new_v2 from "./pages/recherche_new_v2";
|
|||
import TestUrl from "./pages/testurl";
|
||||
import Account from "./pages/account";
|
||||
import DisplayDetailClass from "./pages/displaydetailclass";
|
||||
import DisplayDetailClass_new_v2 from "./pages/displaydetailclass_new_v2";
|
||||
import DisplayDetailClassAction from "./pages/displaydetailclassaction";
|
||||
import DisplayDetailArticle from "./pages/displaydetailarticle";
|
||||
import Acceuil from "./pages/acceuil";
|
||||
|
@ -66,6 +67,7 @@ function App() {
|
|||
<Route path="/recherche-formation/:NewSearchText" exact component={Recherche} />
|
||||
<Route path="/testurl/:course/:tab" exact component={TestUrl} />
|
||||
<Route path="/Display-Detail-formation/:classId" exact component={DisplayDetailClass} />
|
||||
<Route path="/Display-Detail-formation_v2/:classId" exact component={DisplayDetailClass_new_v2} />
|
||||
<Route path="/Display-Detail-formation/:classId/:action" exact component={DisplayDetailClassAction} />
|
||||
<Route path="/Display-Detail-Article/:articleId" exact component={DisplayDetailArticle} />
|
||||
<Route path="/Display-Detail-formation-Coeur/:classId" exact component={CoupDeCoeur} />
|
||||
|
|
|
@ -513,7 +513,8 @@ const DisplayDetailClass = (props) => {
|
|||
|
||||
{associatedtraining_message && String(associatedtraining_api) === "True" &&
|
||||
associatedtraining_message.map((formation) => (
|
||||
<div className="autres_formations" onClick={(e) => {
|
||||
<div className="autres_formations"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
//test(props.formation.external_code);
|
||||
window.open(
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -73,7 +73,7 @@ const Formation = (props) => {
|
|||
});
|
||||
} else {
|
||||
window.open(
|
||||
"/Display-Detail-formation/" + props.formation.internal_url,
|
||||
"/Display-Detail-formation_v2/" + props.formation.internal_url,
|
||||
'_blank'
|
||||
);
|
||||
}
|
||||
|
@ -244,7 +244,7 @@ const Formation = (props) => {
|
|||
e.preventDefault();
|
||||
|
||||
window.open(
|
||||
"/Display-Detail-formation/" + props.formation.internal_url,
|
||||
"/Display-Detail-formation_v2/" + props.formation.internal_url,
|
||||
'_blank'
|
||||
);
|
||||
|
||||
|
@ -394,7 +394,7 @@ const Formation = (props) => {
|
|||
|
||||
<div className="media_sociaux" style={{ 'float': "left", marginTop: "0.2rem", }}>
|
||||
<FacebookShareButton
|
||||
url={"https://www.mysy-training.com/Display-Detail-formation/" + props.formation.internal_url}
|
||||
url={"https://www.mysy-training.com/Display-Detail-formation_v2/" + props.formation.internal_url}
|
||||
|
||||
quote={props.formation.title + " -- " + props.formation.description}
|
||||
hashtag={"ySyTraining"}
|
||||
|
@ -404,7 +404,7 @@ const Formation = (props) => {
|
|||
|
||||
|
||||
<TwitterShareButton
|
||||
url={"https://www.mysy-training.com/Display-Detail-formation/" + props.formation.internal_url}
|
||||
url={"https://www.mysy-training.com/Display-Detail-formation_v2/" + props.formation.internal_url}
|
||||
hashtag={"#MySy-Formation"}
|
||||
>
|
||||
<SocialIcon network="twitter" style={{ height: 20, width: 20 }} />
|
||||
|
@ -412,7 +412,7 @@ const Formation = (props) => {
|
|||
|
||||
|
||||
<LinkedinShareButton
|
||||
url={"https://www.mysy-training.com/Display-Detail-formation/" + props.formation.internal_url}
|
||||
url={"https://www.mysy-training.com/Display-Detail-formation_v2/" + props.formation.internal_url}
|
||||
title={" Une nouvelle formation : " + props.formation.title}
|
||||
summary={props.formation.title + " -- " + props.formation.description}
|
||||
|
||||
|
@ -590,7 +590,7 @@ const Formation = (props) => {
|
|||
e.preventDefault();
|
||||
|
||||
window.open(
|
||||
"/Display-Detail-formation/" + props.formation.internal_url + "/Information",
|
||||
"/Display-Detail-formation_v2/" + props.formation.internal_url + "/Information",
|
||||
'_blank'
|
||||
);
|
||||
|
||||
|
@ -606,7 +606,7 @@ const Formation = (props) => {
|
|||
e.preventDefault();
|
||||
//test(props.formation.external_code);
|
||||
window.open(
|
||||
"/Display-Detail-formation/" + props.formation.internal_url,
|
||||
"/Display-Detail-formation_v2/" + props.formation.internal_url,
|
||||
'_blank'
|
||||
);
|
||||
|
||||
|
@ -621,7 +621,7 @@ const Formation = (props) => {
|
|||
e.preventDefault();
|
||||
|
||||
window.open(
|
||||
"/Display-Detail-formation/" + props.formation.internal_url + "/Inscription",
|
||||
"/Display-Detail-formation_v2/" + props.formation.internal_url + "/Inscription",
|
||||
'_blank'
|
||||
);
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
import DisplayDetailClass from "../components/DisplayDetailClass";
|
||||
import DisplayDetailClass_new_v2 from "../components/DisplayDetailClass_new_v2";
|
||||
import Navigation from "../components/Navigation";
|
||||
|
||||
export default function displaydetailclass() {
|
||||
return (
|
||||
<div>
|
||||
<div >
|
||||
<Navigation />
|
||||
</div>
|
||||
<DisplayDetailClass_new_v2 />
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -60,3 +60,4 @@
|
|||
@import "./components/userprofil";
|
||||
@import "./components/reherche_new_v2";
|
||||
@import "./components/footer_v2";
|
||||
@import "./components/displaydetailclass_new_v2";
|
Loading…
Reference in New Issue