From f53298509cc16ccdffb1369a0c6da33ed8d758ac Mon Sep 17 00:00:00 2001 From: nac26 Date: Sun, 16 Jan 2011 22:43:43 +0000 Subject: [PATCH] NIHVIVO-1073 Added check for no data. Primarily used for initial state after new installation. --- .../menupage/menupage--classgroup-people.ftl | 73 ++++++++++--------- 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/productMods/templates/freemarker/body/menupage/menupage--classgroup-people.ftl b/productMods/templates/freemarker/body/menupage/menupage--classgroup-people.ftl index b1b2f973..2649cad8 100644 --- a/productMods/templates/freemarker/body/menupage/menupage--classgroup-people.ftl +++ b/productMods/templates/freemarker/body/menupage/menupage--classgroup-people.ftl @@ -1,45 +1,52 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -
-

${page.title}

+ +<#include "menupage-checkForData.ftl"> + +<#if (!noData)> +
+

${page.title}

-
-

Visual Graph

+
+

Visual Graph

- <#include "menupage-vClassesInClassgroup.ftl"> + <#include "menupage-vClassesInClassgroup.ftl"> -
- +
+ +
+
+ +
+ +
+ +
+

Network stats

-
- - +

(n) Persons | (n) with authorship | (n) researchers | (n) are principal investigators | (n) with awards | (n) are teaching | (n) have positions in organization

-
-
-

Network stats

- -

(n) Persons | (n) with authorship | (n) researchers | (n) are principal investigators | (n) with awards | (n) are teaching | (n) have positions in organization

-
+ <#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")} \ No newline at end of file + ${scripts.add("/js/menupage/browseByVClassPeople.js")} +<#else> + ${noDataNotification} + \ No newline at end of file