11import  React ,  {  Component  }  from  'react' ; 
22import  PropTypes  from  'prop-types' ; 
33import  {  Map  }  from  'immutable' ; 
4+ import  {  Link  }  from  'react-router-dom' ; 
45
56import  './CitationSummaryTable.scss' ; 
67import  ExternalLink  from  '../ExternalLink' ; 
@@ -9,7 +10,7 @@ import LoadingOrChildren from '../LoadingOrChildren';
910import  ErrorAlertOrChildren  from  '../ErrorAlertOrChildren' ; 
1011import  {  ErrorPropType  }  from  '../../propTypes' ; 
1112
12- const  CITABLE_HELP_MESSAGE  =  ( 
13+ const  PUBLISHED_HELP_MESSAGE  =  ( 
1314  < span > 
1415    Published papers are believed to have undergone rigorous peer review.{ ' ' } 
1516    < ExternalLink  href = "http://inspirehep.net/info/faq/general#published" > 
@@ -18,6 +19,13 @@ const CITABLE_HELP_MESSAGE = (
1819  </ span > 
1920) ; 
2021
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+ 
2129class  CitationSummaryTable  extends  Component  { 
2230  render ( )  { 
2331    const  { 
@@ -47,7 +55,7 @@ class CitationSummaryTable extends Component {
4755                  < th > 
4856                    < LabelWithHelp 
4957                      label = "Published" 
50-                       help = { CITABLE_HELP_MESSAGE } 
58+                       help = { PUBLISHED_HELP_MESSAGE } 
5159                    /> 
5260                  </ th > 
5361                </ tr > 
@@ -74,7 +82,12 @@ class CitationSummaryTable extends Component {
7482                  < td > { publishedBucket . getIn ( [ 'citations_count' ,  'value' ] ) } </ td > 
7583                </ tr > 
7684                < tr > 
77-                   < th > h-index</ th > 
85+                   < th > 
86+                     < LabelWithHelp 
87+                       label = "h-index" 
88+                       help = { H_INDEX_HELP_MESSAGE } 
89+                     /> 
90+                   </ th > 
7891                  < td > { hIndex . get ( 'all' ) } </ td > 
7992                  < td > { hIndex . get ( 'published' ) } </ td > 
8093                </ tr > 
0 commit comments