Skip to content
Snippets Groups Projects
Commit 008e1f5d authored by Anthony Bretaudeau's avatar Anthony Bretaudeau
Browse files

fix apollo urls

parent c8780f8a
No related branches found
No related tags found
No related merge requests found
......@@ -152,11 +152,11 @@ if(count($alignments) > 0){ ?>
}
if (!$found_link) {
if (getenv('ENABLE_JBROWSE') == "1")
if (getenv('ENABLE_APOLLO') == "1")
$url = '/apollo/annotator/loadLink?';
else {
// Some url was given
$url = getenv('ENABLE_JBROWSE');
$url = getenv('ENABLE_APOLLO');
if (strpos($url, '?') !== false)
$url .= '&';
else
......@@ -164,7 +164,7 @@ if(count($alignments) > 0){ ?>
}
}
$feature_loc .= " <a href='".$GLOBALS['base_url'].$url."loc=".$alignment->name."%3A".($alignment->fmin + 1)."..".$alignment->fmax."'>Apollo</a>";
$feature_loc .= " &nbsp;&nbsp; View in <a href='".$GLOBALS['base_url'].$url."loc=".$alignment->name."%3A".($alignment->fmin + 1)."..".$alignment->fmax."'>Apollo</a>";
}
$rows[] = array(
......
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