Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
Fixed references links; opentargets/issues#564
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaFumis committed Jun 26, 2019
1 parent 3da810a commit b1e4d60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/src/components/drug-summary/drug-summary.html
Expand Up @@ -42,8 +42,9 @@ <h3 class="summary-section-header">Mechanisms of action</h3>
<td>{{mec.description}}</td>
<td>{{mec.target_name}}</td>
<td><span ng-repeat="synonym in mec.target_components"><a ng-if="synonym.ensembl" href="/target/{{synonym.ensembl}}">{{synonym.approved_symbol}}{{$last ? '' : ', '}}</a><span ng-if="!synonym.ensembl">{{synonym.approved_symbol}}{{$last ? '' : ', '}}</span></span></td>
<!-- TODO: check references -->
<td><span ng-repeat="ref in mec.references"><a target=_blank href="{{ref.urls[0]}}">{{ref.source}} </a></span></td>
<td><span ng-repeat="ref in mec.references">
<a ng-if="ref.urls" target=_blank href="{{ref.urls[0]}}">{{ref.source}}</a><span ng-if="!ref.urls">{{ref.source}}</span>{{$last ? '' : ', '}}
</span></td>
</tr>
</table>
</div>
Expand Down

0 comments on commit b1e4d60

Please sign in to comment.