NIHVIVO-2028: display menu and tab management links based on theme
This commit is contained in:
parent
41e4a39919
commit
fff4a31c6a
1 changed files with 37 additions and 0 deletions
|
@ -0,0 +1,37 @@
|
||||||
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||||
|
|
||||||
|
<#-- Template for Site Administration site configuration panel -->
|
||||||
|
|
||||||
|
<#if siteConfig??>
|
||||||
|
<div class="pageBodyGroup">
|
||||||
|
|
||||||
|
<h3>Site Configuration</h3>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<#if siteConfig.urls.portals??>
|
||||||
|
<li><a href="${siteConfig.urls.siteInfo}">Current portal information</a></li>
|
||||||
|
<li><a href="${siteConfig.urls.portals}">List all portals</a></li>
|
||||||
|
<#else>
|
||||||
|
<li><a href="${siteConfig.urls.siteInfo}">Site information</a></li>
|
||||||
|
</#if>
|
||||||
|
|
||||||
|
<#if themeDir?substring(themeDir?last_index_of("/") + 1,themeDir?length) == "wilma">
|
||||||
|
<#if siteConfig.urls.menuN3Editor??>
|
||||||
|
<li><a href="${siteConfig.urls.menuN3Editor}">Menu management</a></li>
|
||||||
|
</#if>
|
||||||
|
<#elseif themeDir?substring(themeDir?last_index_of("/") + 1,themeDir?length) == "vivo-basic">
|
||||||
|
<li><a href="${siteConfig.urls.tabs}">Tab management</a></li>
|
||||||
|
<#else>
|
||||||
|
<#if siteConfig.urls.menuN3Editor??>
|
||||||
|
<li><a href="${siteConfig.urls.menuN3Editor}">Menu management</a></li>
|
||||||
|
</#if>
|
||||||
|
<li><a href="${siteConfig.urls.tabs}">Tab management</a></li>
|
||||||
|
</#if>
|
||||||
|
|
||||||
|
<#if siteConfig.urls.users??>
|
||||||
|
<li><a href="${siteConfig.urls.users}">User accounts</a></li>
|
||||||
|
</#if>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</#if>
|
Loading…
Add table
Reference in a new issue