Skip to content
Snippets Groups Projects
Commit be248089 authored by Loraine Guéguen's avatar Loraine Guéguen
Browse files

change links to mRNA on gene page: link to relationships pane because several...

change links to mRNA on gene page: link to relationships pane because several mRNA splices are possible
parent 5dfffb2e
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ if (isset($node) && $node->type == "chado_feature") {
$feat_nav = "You are viewing a polypeptide, more information available on the corresponding ".l("mRNA page", "node/".$node->feature->all_relationships['subject']['derives from']['mRNA'][0]->record->object_id->nid);
}
else if ($node->feature->type_id->name == "gene" && isset($node->feature->all_relationships['object']['part of']['mRNA'][0]->record->subject_id->nid)) {
$feat_nav = "You are viewing a gene, more information available on the corresponding ".l("mRNA pages", "node/".$node->nid."%3Fpane%3Drelationships");
$feat_nav = "You are viewing a gene, more information available on the corresponding ".l("mRNA pages", "node/".$node->nid, array('query' => array('pane' => 'relationships')));
}
}
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment