Merged r7057 from nihvivo-rel-1.2-maint branch
This commit is contained in:
parent
f6676d58b7
commit
9d9a900d33
2 changed files with 43 additions and 15 deletions
|
@ -1,26 +1,32 @@
|
||||||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||||
|
|
||||||
<section id="intro-menupage" role="region">
|
<#include "menupage-checkForData.ftl">
|
||||||
<h3>${page.title}</h3>
|
|
||||||
|
|
||||||
<section id="content-generic-class" role="region">
|
<#if (!noData)>
|
||||||
<#-- This will allow us to keep menupage.ftl generic and keep vivo-specific extensions in VIVO -->
|
<section id="intro-menupage" role="region">
|
||||||
<#if visualizationLink??>
|
<h3>${page.title}</h3>
|
||||||
${visualizationLink}
|
|
||||||
</#if>
|
|
||||||
|
|
||||||
<h4>Visual Graph</h4>
|
<section id="content-generic-class" role="region">
|
||||||
|
<#-- This will allow us to keep menupage.ftl generic and keep vivo-specific extensions in VIVO -->
|
||||||
|
<#if visualizationLink??>
|
||||||
|
${visualizationLink}
|
||||||
|
</#if>
|
||||||
|
|
||||||
<#include "menupage-vClassesInClassgroup.ftl">
|
<h4>Visual Graph</h4>
|
||||||
|
|
||||||
<section id="generic-class-graph" role="region">
|
<#include "menupage-vClassesInClassgroup.ftl">
|
||||||
<img src="${urls.images}/menupage/visual-graph-generic-class.jpg" width="500" height="283" alt ="" />
|
|
||||||
|
<section id="generic-class-graph" role="region">
|
||||||
|
<img src="${urls.images}/menupage/visual-graph-generic-class.jpg" width="500" height="283" alt ="" />
|
||||||
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
|
||||||
|
|
||||||
<#include "menupage-browse.ftl">
|
<#include "menupage-browse.ftl">
|
||||||
|
|
||||||
${stylesheets.add("/css/menupage/menupage.css")}
|
${stylesheets.add("/css/menupage/menupage.css")}
|
||||||
|
|
||||||
<#include "menupage-scripts.ftl">
|
<#include "menupage-scripts.ftl">
|
||||||
|
<#else>
|
||||||
|
${noDataNotification}
|
||||||
|
</#if>
|
|
@ -0,0 +1,22 @@
|
||||||
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||||
|
|
||||||
|
<#list vClassGroup as vClass>
|
||||||
|
<#assign populatedClasses = 0 />
|
||||||
|
<#-- Check to see if any of the classes in this class group have individuals -->
|
||||||
|
<#if (vClass.entityCount > 0)>
|
||||||
|
<#assign populatedClasses = populatedClasses + 1 />
|
||||||
|
</#if>
|
||||||
|
</#list>
|
||||||
|
<#if (populatedClasses == 0)>
|
||||||
|
<#assign noData = true />
|
||||||
|
<#else>
|
||||||
|
<#assign noData = false />
|
||||||
|
</#if>
|
||||||
|
|
||||||
|
<#assign noDataNotification>
|
||||||
|
<h3>There are currently no ${page.title?lower_case} in the system</h3>
|
||||||
|
|
||||||
|
<p>Please <a href="${urls.login}" title="log in to manage this site">login</a> to manage content.</p>
|
||||||
|
|
||||||
|
<p>You can browse all of the public content currently in the system using the <a href="${urls.index}" title="browse all content">index page</a>.</p>
|
||||||
|
</#assign>
|
Loading…
Add table
Reference in a new issue