Skip to content

Commit

Permalink
Show the promoter in genotype edit page table
Browse files Browse the repository at this point in the history
Refs #2824
  • Loading branch information
kimrutherford committed Apr 19, 2024
1 parent b2cef17 commit c26c8af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions root/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2043,3 +2043,6 @@ details > div {
width: 85%;
}

.curs-genotype-edit .curs-promoter-display {
font-size: 90%;
}
4 changes: 3 additions & 1 deletion root/static/ng_templates/genotype_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
<td>{{allele.name}}</td>
<td>{{allele.type}}</td>
<td>{{allele.description}}</td>
<td ng-if="allelesHaveExpression">{{allele.expression}}</td>
<td ng-if="allelesHaveExpression">{{allele.expression}}
<div ng-if="allele.promoter_gene" class="curs-promoter-display">Promoter: {{allele.promoter_gene}}</div>
</td>
<td class="curs-table-row-remove">
<div ng-if="allele.primary_identifier">
<span title="This is a pre-existing allele that can't be edited. If this isn't the allele you need, please remove it from the genotype and add another"
Expand Down

0 comments on commit c26c8af

Please sign in to comment.