- Timestamp:
- 10/23/09 12:57:06 (4 years ago)
- Branch:
- default
- convert_revision:
- svn:cdcfb263-7567-472c-a848-e2c2df3466e7/trunk@903
- Files:
-
- 1 modified
-
WebContent/WEB-INF/resources/templates/xhtml10.vm (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
WebContent/WEB-INF/resources/templates/xhtml10.vm
r901 r902 53 53 #if ($observation.hasGroups()) 54 54 #foreach($group in $observation.getGroups()) #if (!$group.hasParent()) 55 <div class="section group" id="${observationName}_${group.Name}" #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end>56 <h3 class="title" ><a class="anchor" href="#${observationName}_${group.Name}">a</a>$group.getTitle()</h3>55 <div class="section group" id="${observationName}_${group.Name}"> 56 <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> 57 57 <div class="block"> 58 <p >$group.getDescription()</p>58 <p #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end>$group.getDescription()</p> 59 59 <div class="messages"> 60 60 #set ($messages = $observation.getURISortedMessages($group.getName())) … … 76 76 #set ($messageId = "${observationName}_${group.Name}_${uriCount}_$velocityCount") 77 77 #if ($message.getContexts().size() == 0) 78 <tr #if($message.getLang()!=$ group.getLang())xml:lang="$message.getLang()"#end>78 <tr #if($message.getLang()!=$observation.getLang())xml:lang="$message.getLang()"#end> 79 79 <td class="linenumber" title=""></td> 80 80 <td class="colnumber" title=""></td> … … 93 93 #set ($rowspan = $message.getContexts().size()) 94 94 #foreach($context in $message.getContexts()) 95 <tr #if($message.getLang()!=$group.getLang())xml:lang="$message.getLang()"#end>95 <tr #if($message.getLang()!=$observation.getLang())xml:lang="$message.getLang()"#end> 96 96 <td class="linenumber" title="#if($context.Line)$line_token $context.Line#end">$!context.Line</td> 97 97 <td class="colnumber" title="#if($context.Column)$column_token $context.Column#end">$!context.Column</td> … … 122 122 123 123 #foreach($group in $observation.getGroupChildren($group)) 124 <div class="section group" id="${observationName}_${group.Name}" #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end>125 <h3 class="title" ><a class="anchor" href="#${observationName}_${group.Name}">a</a>$group.getTitle()</h3>124 <div class="section group" id="${observationName}_${group.Name}"> 125 <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> 126 126 <div class="block"> 127 <p >$group.getDescription()</p>127 <p #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end>$group.getDescription()</p> 128 128 <div class="messages"> 129 129 #set ($messages = $observation.getURISortedMessages($group.getName())) … … 145 145 #set ($messageId = "${observationName}_${group.Name}_${uriCount}_$velocityCount") 146 146 #if ($message.getContexts().size() == 0) 147 <tr #if($message.getLang()!=$ group.getLang())xml:lang="$message.getLang()"#end>147 <tr #if($message.getLang()!=$observation.getLang())xml:lang="$message.getLang()"#end> 148 148 <td class="linenumber" title=""></td> 149 149 <td class="colnumber" title=""></td> … … 162 162 #set ($rowspan = $message.getContexts().size()) 163 163 #foreach($context in $message.getContexts()) 164 <tr #if($message.getLang()!=$ group.getLang())xml:lang="$message.getLang()"#end>164 <tr #if($message.getLang()!=$observation.getLang())xml:lang="$message.getLang()"#end> 165 165 <td class="linenumber" title="#if($context.Line)$line_token $context.Line#end">$!context.Line</td> 166 166 <td class="colnumber" title="#if($context.Column)$column_token $context.Column#end">$!context.Column</td>
