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

add GO and Download pages

parent e23a673b
Branches
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ services:
ENABLE_BLAST: 1 # 1 to add links to blast form, some/url to specify the path (relative to tripal BASE_URL_PATH), 0 to disable it
ENABLE_JBROWSE: 1 # 1 to add links to jbrowse, jbrowse?data=xxx to specify the path (relative to tripal BASE_URL_PATH), 0 to disable it
ENABLE_APOLLO: 1 # 1 to add links to apollo, some/url to specify the path (relative to tripal BASE_URL_PATH), 0 to disable it
ENABLE_DOWNLOAD: 1 # 1 to add links to download dir, some/url to specify the path (relative to tripal BASE_URL_PATH), 0 to disable it
ENABLE_GO: 1 # 1 to add links to GO summary, some/url to specify the path (relative to tripal BASE_URL_PATH), 0 to disable it
JBROWSE_LINKS: "SFRU_RICE>rice" # correspondance between contig name prefix and jbrowse dataset id, example: "SFRU_RICE>rice_1;SFRU_CORN>corn_2"
# By default APOLLO_LINKS == JBROWSE_LINKS
APOLLO_LINKS: "SFRU_RICE>rice" # correspondance between contig name prefix and apollo dataset id, example: "SFRU_RICE>rice_1;SFRU_CORN>corn_2"
......
......@@ -110,6 +110,15 @@
<!--li id="menu-item-44" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-44"><a href="<?php echo $GLOBALS['base_url']; ?>/elastic_search">Advanced search</a></li-->
</ul>
</li>
<?php if (getenv('ENABLE_GO')): ?>
<?php
if (getenv('ENABLE_GO') == "1")
$url = '/organism/';
else
$url = getenv('ENABLE_GO');
?>
<li id="menu-item-46" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-46"><a href="<?php echo $GLOBALS['base_url'].$url; ?>">GO Report</a>
<?php endif; ?>
<?php if (getenv('ENABLE_BLAST')): ?>
<?php
if (getenv('ENABLE_BLAST') == "1")
......@@ -137,6 +146,15 @@
?>
<li id="menu-item-46" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-46"><a href="<?php echo $GLOBALS['base_url'].$url; ?>">Apollo</a>
<?php endif; ?>
<?php if (getenv('ENABLE_DOWNLOAD')): ?>
<?php
if (getenv('ENABLE_DOWNLOAD') == "1")
$url = '/download';
else
$url = getenv('ENABLE_DOWNLOAD');
?>
<li id="menu-item-46" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-46"><a href="<?php echo $GLOBALS['base_url'].$url; ?>">Download</a>
<?php endif; ?>
<li id="menu-item-46" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-46"><a href="http://bipaa.genouest.org/is/">BIPAA</a>
<ul class="sub-menu">
<li id="menu-item-43" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-43"><a href="https://bipaa.genouest.org/is/aphidbase/">AphidBase</a></li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment