Skip to content

Commit 4e959f1

Browse files
committed
refactor: rename document to resource in List entry buttons
1 parent d67e5a2 commit 4e959f1

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

vis/js/templates/listentry/PaperButtons.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import React, { FC } from "react";
22
import { connect } from "react-redux";
3-
import useMatomo from "../../utils/useMatomo";
3+
4+
import Highlight from "../../components/Highlight";
5+
import { AllPossiblePapersType, State } from "../../types";
46
import { getPaperPDFClickHandler } from "../../utils/data";
57
import { mapDispatchToListEntriesProps } from "../../utils/eventhandlers";
6-
import Highlight from "../../components/Highlight";
8+
import useMatomo from "../../utils/useMatomo";
79
import { isNonTextDocument } from "../Paper";
8-
import { AllPossiblePapersType, State } from "../../types";
910

1011
interface PaperButtonsProps {
1112
paper: AllPossiblePapersType;
@@ -89,7 +90,7 @@ const PaperButtons: FC<PaperButtonsProps> = ({
8990
{hasCiteButton && (
9091
<button
9192
className="paper_button"
92-
title="Cite this document"
93+
title="Cite this resource"
9394
onClick={handleCiteButtonClick}
9495
>
9596
<i className="fa fa-quote-right"></i>&nbsp;&nbsp;Cite as
@@ -98,7 +99,7 @@ const PaperButtons: FC<PaperButtonsProps> = ({
9899
{showExportButton && (
99100
<button
100101
className="paper_button"
101-
title="Export this document"
102+
title="Export this resource"
102103
onClick={handleExportButtonClick}
103104
>
104105
<i className="fa fa-arrow-down"></i>&nbsp;&nbsp;Export

0 commit comments

Comments
 (0)