From dd84a0ddf410436675d0f137b403543f7298c618 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Tue, 23 Mar 2010 20:04:34 +0000 Subject: [PATCH] NIHVIVO-145, NIHVIVO-146 Don't output wrapping div for blurb and description if not in editing mode and the item has no value, since it adds too much blank space to the page. --- webapp/web/templates/entity/entityBasic.jsp | 122 ++++++++++---------- 1 file changed, 64 insertions(+), 58 deletions(-) diff --git a/webapp/web/templates/entity/entityBasic.jsp b/webapp/web/templates/entity/entityBasic.jsp index a83c1b79b..e4a764964 100644 --- a/webapp/web/templates/entity/entityBasic.jsp +++ b/webapp/web/templates/entity/entityBasic.jsp @@ -125,7 +125,7 @@ RY Description not working - FIX <%-- Moniker. Wrap in the div only if editing. If not editing, displays inline next to label. --%> -
+

moniker

@@ -198,7 +198,7 @@ RY Description not working - FIX
<%-- Citation --%> -
+

citation

@@ -222,46 +222,50 @@ RY Description not working - FIX <%-- Blurb --%> -
- -

blurb

- -
- -
-
-
-
${entity.blurb}
- - - ${editLinks} - -
-
-
-
-
+ +
+ +

blurb

+ +
+ +
+
+
+
${entity.blurb}
+ + + ${editLinks} + +
+
+
+
+
+
- <%-- Description --%> -
- -

description

- -
- -
-
-
-
${entity.description}
- - - ${editLinks} - -
-
-
-
-
+ <%-- Description --%> + +
+ +

description

+ +
+ +
+
+
+
${entity.description}
+ + + ${editLinks} + +
+
+
+
+
+
@@ -275,25 +279,27 @@ RY Description not working - FIX <%-- Citation, if no thumbnail --%> -
- -

citation

- -
- -
-
-
- ${entity.citation} - - - ${editLinks} - + +
+ +

citation

+ +
+ +
+
+
+ ${entity.citation} + + + ${editLinks} + +
-
-
-
+ +
+

Keywords: ${entity.keywordString}