1
1
import React , { Component } from 'react' ;
2
2
import PropTypes from 'prop-types' ;
3
3
import { Map } from 'immutable' ;
4
+ import { Link } from 'react-router-dom' ;
4
5
5
6
import './CitationSummaryTable.scss' ;
6
7
import ExternalLink from '../ExternalLink' ;
@@ -9,7 +10,7 @@ import LoadingOrChildren from '../LoadingOrChildren';
9
10
import ErrorAlertOrChildren from '../ErrorAlertOrChildren' ;
10
11
import { ErrorPropType } from '../../propTypes' ;
11
12
12
- const CITABLE_HELP_MESSAGE = (
13
+ const PUBLISHED_HELP_MESSAGE = (
13
14
< span >
14
15
Published papers are believed to have undergone rigorous peer review.{ ' ' }
15
16
< ExternalLink href = "http://inspirehep.net/info/faq/general#published" >
@@ -18,6 +19,13 @@ const CITABLE_HELP_MESSAGE = (
18
19
</ span >
19
20
) ;
20
21
22
+ const H_INDEX_HELP_MESSAGE = (
23
+ < span >
24
+ The h-index is defined as the number of papers with citation number higher
25
+ or equal to h. < Link to = "/literature/690567" > Learn more</ Link >
26
+ </ span >
27
+ ) ;
28
+
21
29
class CitationSummaryTable extends Component {
22
30
render ( ) {
23
31
const {
@@ -47,7 +55,7 @@ class CitationSummaryTable extends Component {
47
55
< th >
48
56
< LabelWithHelp
49
57
label = "Published"
50
- help = { CITABLE_HELP_MESSAGE }
58
+ help = { PUBLISHED_HELP_MESSAGE }
51
59
/>
52
60
</ th >
53
61
</ tr >
@@ -74,7 +82,12 @@ class CitationSummaryTable extends Component {
74
82
< td > { publishedBucket . getIn ( [ 'citations_count' , 'value' ] ) } </ td >
75
83
</ tr >
76
84
< tr >
77
- < th > h-index</ th >
85
+ < th >
86
+ < LabelWithHelp
87
+ label = "h-index"
88
+ help = { H_INDEX_HELP_MESSAGE }
89
+ />
90
+ </ th >
78
91
< td > { hIndex . get ( 'all' ) } </ td >
79
92
< td > { hIndex . get ( 'published' ) } </ td >
80
93
</ tr >
0 commit comments