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

add wiki link

parent f4a78a98
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ services:
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
ENABLE_WIKI: 1 # 1 to add links to wiki, 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 organism id, example: "SFRU_RICE>rice_1;SFRU_CORN>corn_2"
......
......@@ -150,6 +150,16 @@
</ul>
</li>
<?php endif; ?>
<?php if (getenv('ENABLE_WIKI')): ?>
<?php
if (getenv('ENABLE_WIKI') == "1")
$url = $GLOBALS['base_url'].'/wiki/';
else
$url = getenv('ENABLE_WIKI');
?>
<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 $url; ?>">Wiki</a></li>
<?php endif; ?>
<?php if (getenv('ENABLE_DOWNLOAD')): ?>
<?php
if (getenv('ENABLE_DOWNLOAD') == "1")
......
......@@ -161,6 +161,15 @@ if ($node->type == "chado_feature") {
</ul>
</li>
<?php endif; ?>
<?php if (getenv('ENABLE_WIKI')): ?>
<?php
if (getenv('ENABLE_WIKI') == "1")
$url = $GLOBALS['base_url'].'/wiki/';
else
$url = getenv('ENABLE_WIKI');
?>
<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 $url; ?>">Wiki</a></li>
<?php endif; ?>
<?php if (getenv('ENABLE_DOWNLOAD')): ?>
<?php
if (getenv('ENABLE_DOWNLOAD') == "1")
......
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