Skip to content

Commit

Permalink
Fix wording for gene page JBrowse track picker
Browse files Browse the repository at this point in the history
Refs #717
  • Loading branch information
kimrutherford committed Dec 7, 2023
1 parent 7e7e5ae commit 5d5302b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/gene-details/gene-details.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

<div *ngIf="currentGeneBrowserTracks.length != 0">
<div class="track-picker-message" *ngIf="!trackPickerVisible">
<a (click)="showTrackPicker()">View genotype browser tracks associated with {{geneDetails.name || geneDetails.uniquename}} ...</a>
<a (click)="showTrackPicker()">View sequence-based datasets associated with {{geneDetails.name || geneDetails.uniquename}} in JBrowse ...</a>
</div>

<app-jbrowse-track-picker *ngIf="trackPickerVisible" [identifier]="geneDetails.name" [identifierType]="'gene'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<legend>
<span *ngIf="tracks.length == 1">
A dataset
<span *ngIf="identifierType == 'gene'">associated with this {{identifier}}</span>
<span *ngIf="identifierType == 'gene'">associated with {{identifier}}</span>
<span *ngIf="identifierType == 'reference'">from this publication</span>
is available in the genome browser</span>
<span *ngIf="tracks.length != 1">{{tracks.length}} datasets
<span *ngIf="identifierType == 'gene'">associated with this {{identifier}}</span>
<span *ngIf="identifierType == 'gene'">associated with {{identifier}}</span>
<span *ngIf="identifierType == 'reference'">from this publication</span>
are available in the genome browser</span>

Expand Down

0 comments on commit 5d5302b

Please sign in to comment.