NIHVIVO-1073 Added check for no data. Primarily used for initial state after new installation.
This commit is contained in:
parent
3af090996f
commit
f53298509c
1 changed files with 40 additions and 33 deletions
|
@ -1,45 +1,52 @@
|
||||||
<#-- $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">
|
|
||||||
<h3>${page.title}</h3>
|
<#include "menupage-checkForData.ftl">
|
||||||
|
|
||||||
|
<#if (!noData)>
|
||||||
|
<section id="intro-menupage" role="region">
|
||||||
|
<h3>${page.title}</h3>
|
||||||
|
|
||||||
<section id="content-foaf-person" role="region">
|
<section id="content-foaf-person" role="region">
|
||||||
<h4>Visual Graph</h4>
|
<h4>Visual Graph</h4>
|
||||||
|
|
||||||
<#include "menupage-vClassesInClassgroup.ftl">
|
<#include "menupage-vClassesInClassgroup.ftl">
|
||||||
|
|
||||||
<section id="foaf-person-graph" role="region">
|
<section id="foaf-person-graph" role="region">
|
||||||
<img src="${urls.images}/menupage/visual-graph.jpg" alt="" />
|
<img src="${urls.images}/menupage/visual-graph.jpg" alt="" />
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="find-by" role="region">
|
||||||
|
<nav role="navigation">
|
||||||
|
<h3>Find By</h3>
|
||||||
|
|
||||||
|
<ul id="find-filters">
|
||||||
|
<#assign subjectAreaUri = "http://vivoweb.org/ontology/core#SubjectArea" />
|
||||||
|
<#assign departmentUri = "http://vivoweb.org/ontology/core#Department" />
|
||||||
|
<#assign courseUri = "http://vivoweb.org/ontology/core#Course" />
|
||||||
|
|
||||||
|
<li><a href="${urls.base}/individuallist?vclassId=${subjectAreaUri?url}">Subject Area</a></li>
|
||||||
|
<li><a href="${urls.base}/individuallist?vclassId=${departmentUri?url}">Department</a></li>
|
||||||
|
<li><a href="${urls.base}/individuallist?vclassId=${courseUri?url}">Courses</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section id="network-stats" role="region">
|
||||||
|
<h3>Network stats</h3>
|
||||||
|
|
||||||
<section id="find-by" role="region">
|
<p>(n) Persons | (n) with authorship | (n) researchers | (n) are principal investigators | (n) with awards | (n) are teaching | (n) have positions in organization</p>
|
||||||
<nav role="navigation">
|
|
||||||
<h3>Find By</h3>
|
|
||||||
|
|
||||||
<ul id="find-filters">
|
|
||||||
<#assign subjectAreaUri = "http://vivoweb.org/ontology/core#SubjectArea" />
|
|
||||||
<#assign departmentUri = "http://vivoweb.org/ontology/core#Department" />
|
|
||||||
<#assign courseUri = "http://vivoweb.org/ontology/core#Course" />
|
|
||||||
|
|
||||||
<li><a href="${urls.base}/individuallist?vclassId=${subjectAreaUri?url}">Subject Area</a></li>
|
|
||||||
<li><a href="${urls.base}/individuallist?vclassId=${departmentUri?url}">Department</a></li>
|
|
||||||
<li><a href="${urls.base}/individuallist?vclassId=${courseUri?url}">Courses</a></li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id="network-stats" role="region">
|
<#include "menupage-browse.ftl">
|
||||||
<h3>Network stats</h3>
|
|
||||||
|
|
||||||
<p>(n) Persons | (n) with authorship | (n) researchers | (n) are principal investigators | (n) with awards | (n) are teaching | (n) have positions in organization</p>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<#include "menupage-browse.ftl">
|
${stylesheets.add("/css/menupage/menupage.css")}
|
||||||
|
|
||||||
${stylesheets.add("/css/menupage/menupage.css")}
|
<#include "menupage-scripts.ftl">
|
||||||
|
|
||||||
<#include "menupage-scripts.ftl">
|
${scripts.add("/js/menupage/browseByVClassPeople.js")}
|
||||||
|
<#else>
|
||||||
${scripts.add("/js/menupage/browseByVClassPeople.js")}
|
${noDataNotification}
|
||||||
|
</#if>
|
Loading…
Add table
Reference in a new issue