File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/containers/SequenceSearch/components/Results Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ parameter | description
120120--------------------|-----------------------------------------------------------------------------------|
121121h3Color | change the color of the ` Similar sequences ` and ` Rfam classification ` text |
122122h3Size | change the size of the ` Similar sequences ` and ` Rfam classification ` text |
123+ similarSeqText | change the ` Similar sequences ` text |
123124facetColor | change the color of the facet title |
124125facetSize | change the size of the facet title |
125126seqTitleColor | used in results, it changes the color of the title |
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ class Results extends React.Component {
4242 fontWeight : "300" ,
4343 } ;
4444 const loadMoreButtonColor = this . props . customStyle && this . props . customStyle . loadMoreButtonColor ? this . props . customStyle . loadMoreButtonColor : "" ;
45+ const similarSeqText = this . props . customStyle && this . props . customStyle . similarSeqText ? this . props . customStyle . similarSeqText : "Similar sequences" ;
4546
4647 // exact match URS ids
4748 const exactMatch = this . props . exactMatch ;
@@ -153,7 +154,7 @@ class Results extends React.Component {
153154 this . props . jobId && ( this . props . status === "loading" || this . props . status === "success" || this . props . status === "partial_success" ) && [
154155 < div className = "row" key = { `results-div` } >
155156 < div className = "small-12 columns" >
156- < h3 style = { h3Style } > Similar sequences : { this . props . status === "loading" ? < i className = "animated infinite flash" > ...</ i > : < small > { this . props . hitCount } </ small > } { this . props . hits > 1000 ? < small > of { this . props . hits } < a href = "https://rnacentral.org/help/sequence-search" style = { { borderBottomStyle : "none" } } target = "_blank" > < i className = "icon icon-generic icon-help" style = { { fontSize : "70%" } } > </ i > </ a > </ small > : "" } </ h3 >
157+ < h3 style = { h3Style } > { similarSeqText } : { this . props . status === "loading" ? < i className = "animated infinite flash" > ...</ i > : < small > { this . props . hitCount } </ small > } { this . props . hits > 1000 ? < small > of { this . props . hits } < a href = "https://rnacentral.org/help/sequence-search" style = { { borderBottomStyle : "none" } } target = "_blank" > < i className = "icon icon-generic icon-help" style = { { fontSize : "70%" } } > </ i > </ a > </ small > : "" } </ h3 >
157158 {
158159 this . props . entries && this . props . entries . length || this . props . filter ? < Filter databases = { this . props . databases } /> : ""
159160 }
You can’t perform that action at this time.
0 commit comments