Skip to content
Permalink
Browse files

Fix display of INRB footer

  • Loading branch information...
trvrb committed Sep 6, 2019
1 parent ac78aee commit ec6fb1bb19f23902db3741899a57118bacb81a53
Showing with 17 additions and 17 deletions.
  1. +17 −17 src/components/framework/footer.js
@@ -51,6 +51,23 @@ export const getAcknowledgments = (dispatch, styles) => {
const preambleContent = "This work is made possible by the open sharing of genetic data by research groups from all over the world. We gratefully acknowledge their contributions.";
const genericPreamble = (<div style={styles.preamble}>{preambleContent}</div>);

// apply to /community/inrb-drc and to /inrb-drc
if (window.location.pathname.includes("inrb-drc")) {
return (
<div>
<div style={styles.preamble}>
This work is made possible by the open sharing of genetic data by research groups.
</div>
<div style={styles.acknowledgments}>
These sequences were generated by the Democratic Republic of the Congo Sequencing Consortium led by the Institut National de Recherche Biomédicales (INRB), Kinshasa, DRC, partnered with the United States Army Medical Reseach Insititute of Infectious Diseases (USAMRIID), Maryland, USA; University of Nebraska Medical Center (UNMC), Nebraska, USA; Institut Pasteur de Dakar, Dakar, Senegal; TransVIHMI, Institut de Recherche pour le Développement (IRD), Institut National de la Santé et de la Recherche Médicale (INSERM), Université de Montpellier, Montpellier, France.
</div>
<div style={styles.acknowledgments}>
These data were shared with the Ministry of Health of the DRC, and with the public via this <a target="_blank" rel="noreferrer noopener" href="http://virological.org/t/drc-2018-viral-genome-characterization/230">virological.org</a> post, which is continually updated. If you intend to use these sequences prior to publication, please contact Drs. Muyembe-Tamfum and Ahuka to coordinate.
</div>
</div>
);
}

if (!window.location.pathname.includes("community")) {
if (window.location.pathname.includes("ebola")) {
return (
@@ -205,23 +222,6 @@ export const getAcknowledgments = (dispatch, styles) => {
}
}

// apply to /community/inrb-drc and to /inrb-drc
if (window.location.pathname.includes("inrb-drc")) {
return (
<div>
<div style={styles.preamble}>
This work is made possible by the open sharing of genetic data by research groups.
</div>
<div style={styles.acknowledgments}>
These sequences were generated by the Democratic Republic of the Congo Sequencing Consortium led by the Institut National de Recherche Biomédicales (INRB), Kinshasa, DRC, partnered with the United States Army Medical Reseach Insititute of Infectious Diseases (USAMRIID), Maryland, USA; University of Nebraska Medical Center (UNMC), Nebraska, USA; Institut Pasteur de Dakar, Dakar, Senegal; TransVIHMI, Institut de Recherche pour le Développement (IRD), Institut National de la Santé et de la Recherche Médicale (INSERM), Université de Montpellier, Montpellier, France.
</div>
<div style={styles.acknowledgments}>
These data were shared with the Ministry of Health of the DRC, and with the public via this <a target="_blank" rel="noreferrer noopener" href="http://virological.org/t/drc-2018-viral-genome-characterization/230">virological.org</a> post, which is continually updated. If you intend to use these sequences prior to publication, please contact Drs. Muyembe-Tamfum and Ahuka to coordinate.
</div>
</div>
);
}

return (
<div>
{genericPreamble}

0 comments on commit ec6fb1b

Please sign in to comment.
You can’t perform that action at this time.