NIHVIVO-1073 Added check for no data. Primarily used for initial state after new installation.

This commit is contained in:
nac26 2011-01-16 22:43:43 +00:00
parent 3af090996f
commit f53298509c

View file

@ -1,5 +1,9 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<section id="intro-menupage" role="region">
<#include "menupage-checkForData.ftl">
<#if (!noData)>
<section id="intro-menupage" role="region">
<h3>${page.title}</h3>
<section id="content-foaf-person" role="region">
@ -28,18 +32,21 @@
</nav>
</section>
</section>
</section>
<section id="network-stats" role="region">
<section id="network-stats" role="region">
<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>
</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">
${scripts.add("/js/menupage/browseByVClassPeople.js")}
${scripts.add("/js/menupage/browseByVClassPeople.js")}
<#else>
${noDataNotification}
</#if>