diff --git a/vis/js/default-config.js b/vis/js/default-config.js index a20a31795..fb4533d80 100644 --- a/vis/js/default-config.js +++ b/vis/js/default-config.js @@ -177,8 +177,10 @@ var config = { faqs_button: false, //url for link to faqs faqs_url: "", - // show citation button + // show citation button for the whole map show_cite_button: false, + // show citation button for each paper + cite_papers: false, /*** streamgraph settings ***/ //streamgraph color definition diff --git a/vis/js/reducers/list.js b/vis/js/reducers/list.js index cd4044b37..76879f8f9 100644 --- a/vis/js/reducers/list.js +++ b/vis/js/reducers/list.js @@ -17,6 +17,7 @@ const list = ( showKeywords: false, hideUnselectedKeywords: true, height: null, + citePapers: false, }, action ) => { @@ -47,6 +48,7 @@ const list = ( hideUnselectedKeywords: config.hide_keywords_overview, disableClicks: !config.render_map, height: action.listHeight, + citePapers: config.cite_papers, }; case "TOGGLE_LIST": return { diff --git a/vis/js/templates/listentry/PaperButtons.jsx b/vis/js/templates/listentry/PaperButtons.jsx index 1c6a90595..8355e7f40 100644 --- a/vis/js/templates/listentry/PaperButtons.jsx +++ b/vis/js/templates/listentry/PaperButtons.jsx @@ -31,7 +31,8 @@ const PaperButtons = ({