From f6f21a130bfbffd5d387350d466301799de418b4 Mon Sep 17 00:00:00 2001 From: sidneymbell Date: Tue, 26 May 2020 11:59:34 -0700 Subject: [PATCH 1/4] Add CC-BY-SA placeholder. --- src/components/download/downloadModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/download/downloadModal.js b/src/components/download/downloadModal.js index 3e046ac82..2cb750bac 100644 --- a/src/components/download/downloadModal.js +++ b/src/components/download/downloadModal.js @@ -191,7 +191,7 @@ class DownloadModal extends React.Component { (), () => helpers.authorTSV(this.props.dispatch, filePrefix, this.props.tree)]); } buttons.push( - ["Screenshot (SVG)", "Screenshot of the current nextstrain display in SVG format.", + ["Screenshot (SVG)", "Screenshot of the current nextstrain display in SVG format; CC-BY-SA licensed.", (), () => helpers.SVG(this.props.dispatch, filePrefix, this.props.panelsToDisplay, this.props.panelLayout, this.makeTextStringsForSVGExport())] ); const buttonTextStyle = Object.assign({}, materialButton, {backgroundColor: "rgba(0,0,0,0)", paddingLeft: "10px", color: "white", minWidth: "300px", textAlign: "left" }); From 5ca81e88aec65ba40176aaa8271d1cc7a938074c Mon Sep 17 00:00:00 2001 From: Sidney Bell Date: Thu, 28 May 2020 11:38:29 -0700 Subject: [PATCH 2/4] Sub in CC-BY license --- src/components/download/downloadModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/download/downloadModal.js b/src/components/download/downloadModal.js index 2cb750bac..6f0ff717a 100644 --- a/src/components/download/downloadModal.js +++ b/src/components/download/downloadModal.js @@ -191,7 +191,7 @@ class DownloadModal extends React.Component { (), () => helpers.authorTSV(this.props.dispatch, filePrefix, this.props.tree)]); } buttons.push( - ["Screenshot (SVG)", "Screenshot of the current nextstrain display in SVG format; CC-BY-SA licensed.", + ["Screenshot (SVG)", "Screenshot of the current nextstrain display in SVG format; CC-BY licensed.", (), () => helpers.SVG(this.props.dispatch, filePrefix, this.props.panelsToDisplay, this.props.panelLayout, this.makeTextStringsForSVGExport())] ); const buttonTextStyle = Object.assign({}, materialButton, {backgroundColor: "rgba(0,0,0,0)", paddingLeft: "10px", color: "white", minWidth: "300px", textAlign: "left" }); From 9e0c9302105f4c1cb2adc560dc1bca58e37b888f Mon Sep 17 00:00:00 2001 From: Sidney Bell Date: Thu, 28 May 2020 11:40:59 -0700 Subject: [PATCH 3/4] Add CC-BY license to SVG --- src/components/download/downloadModal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/download/downloadModal.js b/src/components/download/downloadModal.js index 6f0ff717a..017d89ada 100644 --- a/src/components/download/downloadModal.js +++ b/src/components/download/downloadModal.js @@ -151,6 +151,7 @@ class DownloadModal extends React.Component { x.push(this.createSummaryWrapper()); x.push(""); x.push(`${this.props.t("Data usage part 1")} A full list of sequence authors is available via nextstrain.org.`); + x.push(`License: CC-BY`); x.push(`Relevant publications:`); this.getRelevantPublications().forEach((pub) => { x.push(`${pub.author}, ${pub.title}, ${pub.journal} (${pub.year})`); From 9bef7a975cbc32dd23d286b9a3c71a9ea44cdaa2 Mon Sep 17 00:00:00 2001 From: Sidney Bell Date: Thu, 28 May 2020 11:50:54 -0700 Subject: [PATCH 4/4] Update downloadModal.js --- src/components/download/downloadModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/download/downloadModal.js b/src/components/download/downloadModal.js index 017d89ada..20e7ef82e 100644 --- a/src/components/download/downloadModal.js +++ b/src/components/download/downloadModal.js @@ -151,7 +151,7 @@ class DownloadModal extends React.Component { x.push(this.createSummaryWrapper()); x.push(""); x.push(`${this.props.t("Data usage part 1")} A full list of sequence authors is available via nextstrain.org.`); - x.push(`License: CC-BY`); + x.push(`Visualizations are licensed under CC-BY.`); x.push(`Relevant publications:`); this.getRelevantPublications().forEach((pub) => { x.push(`${pub.author}, ${pub.title}, ${pub.journal} (${pub.year})`);