2006/unicorn/WebContent/WEB-INF/resources/templates xhtml10.vm,1.47,1.48

Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv23248/WebContent/WEB-INF/resources/templates

Modified Files:
	xhtml10.vm 
Log Message:
if there is no description for a group do not display an empty paragraph

Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/xhtml10.vm,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- xhtml10.vm	23 Oct 2009 12:57:06 -0000	1.47
+++ xhtml10.vm	23 Oct 2009 16:23:03 -0000	1.48
@@ -55,7 +55,7 @@
 		<div class="section group" id="${observationName}_${group.Name}">
 			<h3 class="title" #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end><a class="anchor" href="#${observationName}_${group.Name}">a</a>$group.getTitle()</h3>					
 			<div class="block">
-				<p #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end>$group.getDescription()</p>
+				#if($group.getDescription())<p #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end>$group.getDescription()</p>#end
 				<div class="messages">
 					#set ($messages = $observation.getURISortedMessages($group.getName()))
 					#if ($messages.size() > 0)
@@ -124,7 +124,7 @@
 				<div class="section group" id="${observationName}_${group.Name}">
 					<h3 class="title" #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end><a class="anchor" href="#${observationName}_${group.Name}">a</a>$group.getTitle()</h3>
 					<div class="block">
-						<p #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end>$group.getDescription()</p>
+						#if($group.getDescription())<p #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end>$group.getDescription()</p>#end
 						<div class="messages">
 							#set ($messages = $observation.getURISortedMessages($group.getName()))
 							#if ($messages.size() > 0)

Received on Friday, 23 October 2009 16:23:07 UTC