| 1 | #set ($title = "$ucn.evaluate($lang, 'result_for', $unicorncall.DocumentName)") |
|---|
| 2 | #set ($css = ['base_ucn-yc.css']) |
|---|
| 3 | #set ($js = ['mootools-1.2.3-core+more-yc.js', 'w3c_unicorn_results-yc.js']) |
|---|
| 4 | #if ($unicorncall.isPassed()) |
|---|
| 5 | #set ($fav = "favicon_green.ico") |
|---|
| 6 | #else |
|---|
| 7 | #set ($fav = "favicon_red.ico") |
|---|
| 8 | #end |
|---|
| 9 | #parse('includes/head.vm') |
|---|
| 10 | |
|---|
| 11 | #set($observationList = $unicorncall.ObservationList) |
|---|
| 12 | |
|---|
| 13 | #if ($messages.size() > 0) |
|---|
| 14 | #displayMessages($messages) |
|---|
| 15 | #end |
|---|
| 16 | <div id="don_program"> |
|---|
| 17 | <script type="text/javascript" src="http://www.w3.org/QA/Tools/don_prog.js"></script> |
|---|
| 18 | <noscript> |
|---|
| 19 | <div> |
|---|
| 20 | <span id="don_program_img"> |
|---|
| 21 | <a href="http://www.w3.org/QA/Tools/Donate"> |
|---|
| 22 | <img src="http://www.w3.org/QA/Tools/I_heart_validator_lg" alt="Validators Donation Program Logo"/> |
|---|
| 23 | </a> |
|---|
| 24 | </span> |
|---|
| 25 | <span lang="en" id="don_program_text" dir="ltr"> |
|---|
| 26 | The W3C validators rely on community support for hosting and development.<br /> |
|---|
| 27 | <a href="http://www.w3.org/QA/Tools/Donate">Donate</a> and help us build better tools for a better web. |
|---|
| 28 | </span> |
|---|
| 29 | </div> |
|---|
| 30 | </noscript> |
|---|
| 31 | </div> |
|---|
| 32 | <div id="observations" class="contextShow:'$esc.html($contexts_show)' contextHide:'$esc.html($contexts_hide)'"> |
|---|
| 33 | #foreach ($observationName in $observationList.keySet()) |
|---|
| 34 | #set ($observation = $observationList.get($observationName)) |
|---|
| 35 | #set ($infoCount = $observation.getInfoCount()) |
|---|
| 36 | #set ($errorCount = $observation.getErrorCount()) |
|---|
| 37 | #set ($warningCount = $observation.getWarningCount()) |
|---|
| 38 | <div class="observer section #if($observation.isPassed()) valid #elseif ($observation.isUndef()) undef #else invalid #end" id="$observationName"> |
|---|
| 39 | <h2 class="title"> |
|---|
| 40 | <span class="icons"> |
|---|
| 41 | #if ($infoCount && $infoCount > 0)<a class="infos" href="#${observationName}_info" title="$info_label ($infoCount)"><span class="legend">$info_label</span><span class="count">$infoCount</span></a> #end |
|---|
| 42 | #if ($errorCount && $errorCount > 0)<a class="errors" href="#${observationName}_error" title="$error_label ($errorCount)"><span class="legend">$error_label</span><span class="count">$errorCount</span></a> #end |
|---|
| 43 | #if ($warningCount && $warningCount > 0)<a class="warnings" href="#${observationName}_warning" title="$warning_label ($warningCount)"><span class="legend">$warning_label</span><span class="count">$warningCount</span></a> #end |
|---|
| 44 | <a class="anchor smooth" href="#$observationName" title="$anchor_observation">a</a> |
|---|
| 45 | </span> |
|---|
| 46 | #if($observation.isPassed()) #set($ref = "test_ok") #elseif ($observation.isUndef()) #set($ref = "test_undef") #else #set($ref = "test_fail") #end |
|---|
| 47 | $ucn.evaluate($lang, $ref, "<span class=\"name\">$unicorncall.getObserverName($observationName, $lang)#if($observation.isSetRating()) ($observation.Rating/100)#end</span>") |
|---|
| 48 | #if ($unicorncall.getInputMethod() == "URI") <a class="direct_link" href="$esc.html($observation.getHTMLRequestUri())" title="$direct_link_title_1">$direct_link_label</a> |
|---|
| 49 | #else <a class="direct_link" href="$esc.html($observation.getHTMLIndexUri())" title="$direct_link_title_2">$direct_link_label</a>#end |
|---|
| 50 | </h2> |
|---|
| 51 | |
|---|
| 52 | <div class="results block"> |
|---|
| 53 | #if ($observation.hasGroups()) |
|---|
| 54 | #foreach($group in $observation.getGroups()) #if (!$group.hasParent()) |
|---|
| 55 | <div class="section group"> |
|---|
| 56 | <h3 class="title"><a class="anchor">a</a>$group.getTitle()</h3> |
|---|
| 57 | <div class="block"> |
|---|
| 58 | <p>$group.getDescription()</p> |
|---|
| 59 | <div class="messages"> |
|---|
| 60 | #set ($messages = $observation.getURISortedMessages($group.getName())) |
|---|
| 61 | #if ($messages.size() > 0) |
|---|
| 62 | <table> |
|---|
| 63 | <tbody> |
|---|
| 64 | #foreach ($uri in $messages.keySet()) |
|---|
| 65 | #set ($uriCount = $velocityCount) |
|---|
| 66 | <tr> |
|---|
| 67 | <td colspan="4" class="uri" id="${observationName}_${group.Name}_$uriCount"> |
|---|
| 68 | #if ($unicorncall.getInputMethod() == "URI")<span>$uri_token </span><a href="$esc.html($uri)">$esc.html($uri)</a>#end |
|---|
| 69 | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token </span>$esc.html($uri)#end |
|---|
| 70 | #if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end |
|---|
| 71 | </td> |
|---|
| 72 | <td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_${group.Name}_$uriCount">a</a></td> |
|---|
| 73 | </tr> |
|---|
| 74 | #foreach ($message in $messages.get($uri)) |
|---|
| 75 | #if($message.getType()==2)#set($type="error")#elseif($message.getType()==1)#set($type="warning")#else#set($type="info")#end |
|---|
| 76 | #set ($messageId = "${observationName}_${group.Name}_${uriCount}_$velocityCount") |
|---|
| 77 | #if ($message.getContexts().size() == 0) |
|---|
| 78 | <tr> |
|---|
| 79 | <td class="linenumber" title=""></td> |
|---|
| 80 | <td class="colnumber" title=""></td> |
|---|
| 81 | <td class="codeContext" title="$context_token"></td> |
|---|
| 82 | <td class="info level$message.Level message" id="$messageId"> |
|---|
| 83 | <span class="msg#if($message.Description && $message.Description != "") desc#end"> |
|---|
| 84 | <span class="$type legend">$type</span> |
|---|
| 85 | $!esc.html($message.Title) |
|---|
| 86 | </span> |
|---|
| 87 | #if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end |
|---|
| 88 | </td> |
|---|
| 89 | <td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
|---|
| 90 | </tr> |
|---|
| 91 | #else |
|---|
| 92 | #set ($b = true) |
|---|
| 93 | #set ($rowspan = $message.getContexts().size()) |
|---|
| 94 | #foreach($context in $message.getContexts()) |
|---|
| 95 | <tr> |
|---|
| 96 | <td class="linenumber" title="#if($context.Line)$line_token $context.Line#end">$!context.Line</td> |
|---|
| 97 | <td class="colnumber" title="#if($context.Column)$column_token $context.Column#end">$!context.Column</td> |
|---|
| 98 | <td class="codeContext" title="$context_token"> |
|---|
| 99 | #if($context.URI && $context.URI != $uri) <a class="direct_link" href="$context.URI" title="$context.URI">link</a> #end |
|---|
| 100 | $!esc.html($!{context.Context}) |
|---|
| 101 | </td> |
|---|
| 102 | #if ($b) |
|---|
| 103 | #set ($b = false) |
|---|
| 104 | <td class="info level$message.Level message" id="$messageId" #if($rowspan>1)rowspan="$rowspan"#end> |
|---|
| 105 | <span class="msg#if($message.Description && $message.Description != "") desc#end"> |
|---|
| 106 | <span class="$type legend">$type</span> |
|---|
| 107 | $!esc.html($message.Title) |
|---|
| 108 | </span> |
|---|
| 109 | #if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end |
|---|
| 110 | </td> |
|---|
| 111 | <td class="anchor" #if($rowspan>1)rowspan="$rowspan"#end><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
|---|
| 112 | #end |
|---|
| 113 | </tr> |
|---|
| 114 | #end |
|---|
| 115 | #end |
|---|
| 116 | #end |
|---|
| 117 | #end |
|---|
| 118 | </tbody> |
|---|
| 119 | </table> |
|---|
| 120 | #end |
|---|
| 121 | </div> |
|---|
| 122 | |
|---|
| 123 | #foreach($group in $observation.getGroupChildren($group)) |
|---|
| 124 | <div class="section group"> |
|---|
| 125 | <h3 class="title"><a class="anchor">a</a>$group.getTitle()</h3> |
|---|
| 126 | <div class="block"> |
|---|
| 127 | <p>$group.getDescription()</p> |
|---|
| 128 | <div class="messages"> |
|---|
| 129 | #set ($messages = $observation.getURISortedMessages($group.getName())) |
|---|
| 130 | #if ($messages.size() > 0) |
|---|
| 131 | <table> |
|---|
| 132 | <tbody> |
|---|
| 133 | #foreach ($uri in $messages.keySet()) |
|---|
| 134 | #set ($uriCount = $velocityCount) |
|---|
| 135 | <tr> |
|---|
| 136 | <td colspan="4" class="uri" id="${observationName}_${group.Name}_$uriCount"> |
|---|
| 137 | #if ($unicorncall.getInputMethod() == "URI")<span>$uri_token </span><a href="$esc.html($uri)">$esc.html($uri)</a>#end |
|---|
| 138 | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token </span>$esc.html($uri)#end |
|---|
| 139 | #if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end |
|---|
| 140 | </td> |
|---|
| 141 | <td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_${group.Name}_$uriCount">a</a></td> |
|---|
| 142 | </tr> |
|---|
| 143 | #foreach ($message in $messages.get($uri)) |
|---|
| 144 | #if($message.getType()==2)#set($type="error")#elseif($message.getType()==1)#set($type="warning")#else#set($type="info")#end |
|---|
| 145 | #set ($messageId = "${observationName}_${group.Name}_${uriCount}_$velocityCount") |
|---|
| 146 | #if ($message.getContexts().size() == 0) |
|---|
| 147 | <tr> |
|---|
| 148 | <td class="linenumber" title=""></td> |
|---|
| 149 | <td class="colnumber" title=""></td> |
|---|
| 150 | <td class="codeContext" title="$context_token"></td> |
|---|
| 151 | <td class="info level$message.Level message" id="$messageId"> |
|---|
| 152 | <span class="msg#if($message.Description && $message.Description != "") desc#end"> |
|---|
| 153 | <span class="$type legend">$type</span> |
|---|
| 154 | $!esc.html($message.Title) |
|---|
| 155 | </span> |
|---|
| 156 | #if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end |
|---|
| 157 | </td> |
|---|
| 158 | <td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
|---|
| 159 | </tr> |
|---|
| 160 | #else |
|---|
| 161 | #set ($b = true) |
|---|
| 162 | #set ($rowspan = $message.getContexts().size()) |
|---|
| 163 | #foreach($context in $message.getContexts()) |
|---|
| 164 | <tr> |
|---|
| 165 | <td class="linenumber" title="#if($context.Line)$line_token $context.Line#end">$!context.Line</td> |
|---|
| 166 | <td class="colnumber" title="#if($context.Column)$column_token $context.Column#end">$!context.Column</td> |
|---|
| 167 | <td class="codeContext" title="$context_token"> |
|---|
| 168 | #if($context.URI && $context.URI != $uri) <a class="direct_link" href="$context.URI" title="$context.URI">link</a> #end |
|---|
| 169 | $!esc.html($!{context.Context}) |
|---|
| 170 | </td> |
|---|
| 171 | #if ($b) |
|---|
| 172 | #set ($b = false) |
|---|
| 173 | <td class="info level$message.Level message" id="$messageId" #if($rowspan>1) rowspan="$rowspan" #end> |
|---|
| 174 | <span class="msg#if($message.Description && $message.Description != "") desc#end"> |
|---|
| 175 | <span class="$type legend">$type</span> |
|---|
| 176 | $!esc.html($message.Title) |
|---|
| 177 | </span> |
|---|
| 178 | #if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end |
|---|
| 179 | </td> |
|---|
| 180 | <td class="anchor" #if($rowspan>1) rowspan="$rowspan" #end><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
|---|
| 181 | #end |
|---|
| 182 | </tr> |
|---|
| 183 | #end |
|---|
| 184 | #end |
|---|
| 185 | #end |
|---|
| 186 | #end |
|---|
| 187 | </tbody> |
|---|
| 188 | </table> |
|---|
| 189 | #end |
|---|
| 190 | </div> |
|---|
| 191 | </div> |
|---|
| 192 | </div> |
|---|
| 193 | #end |
|---|
| 194 | </div> |
|---|
| 195 | </div> |
|---|
| 196 | #end#end |
|---|
| 197 | |
|---|
| 198 | #else |
|---|
| 199 | |
|---|
| 200 | #if ($infoCount && $infoCount > 0) |
|---|
| 201 | <div class="section infos" id="${observationName}_info"> |
|---|
| 202 | <h3 class="title"> |
|---|
| 203 | <a class="smooth anchor" title="$anchor_uri" href="#${observationName}_info">a</a> |
|---|
| 204 | $info_label ($infoCount) |
|---|
| 205 | </h3> |
|---|
| 206 | <div class="block result"> |
|---|
| 207 | <table> |
|---|
| 208 | <tbody> |
|---|
| 209 | #set ($messages = $observation.getURISortedMessages(0)) |
|---|
| 210 | #foreach ($uri in $messages.keySet()) |
|---|
| 211 | #set ($uriCount = $velocityCount) |
|---|
| 212 | <tr> |
|---|
| 213 | <td colspan="4" class="uri" id="${observationName}_info_$uriCount"> |
|---|
| 214 | #if ($unicorncall.getInputMethod() == "URI")<span>$uri_token </span><a href="$esc.html($uri)">$esc.html($uri)</a>#end |
|---|
| 215 | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token </span>$esc.html($uri)#end |
|---|
| 216 | #if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end |
|---|
| 217 | </td> |
|---|
| 218 | <td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_info_$uriCount">a</a></td> |
|---|
| 219 | </tr> |
|---|
| 220 | #foreach($message in $messages.get($uri)) |
|---|
| 221 | #set ($messageId = "${observationName}_info_${uriCount}_$velocityCount") |
|---|
| 222 | #if ($message.getContexts().size() == 0) |
|---|
| 223 | <tr> |
|---|
| 224 | <td class="linenumber" title=""></td> |
|---|
| 225 | <td class="colnumber" title=""></td> |
|---|
| 226 | <td class="codeContext" title="$context_token"></td> |
|---|
| 227 | <td class="info level$message.Level message" id="$messageId"> |
|---|
| 228 | <span class="msg">$!esc.html($message.Title)</span> |
|---|
| 229 | #if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end |
|---|
| 230 | </td> |
|---|
| 231 | <td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
|---|
| 232 | </tr> |
|---|
| 233 | #else |
|---|
| 234 | #set ($b = true) |
|---|
| 235 | #set ($rowspan = $message.getContexts().size()) |
|---|
| 236 | #foreach($context in $message.getContexts()) |
|---|
| 237 | <tr> |
|---|
| 238 | <td class="linenumber" title="#if($context.Line)$line_token $context.Line#end">$!context.Line</td> |
|---|
| 239 | <td class="colnumber" title="#if($context.Column)$column_token $context.Column#end">$!context.Column</td> |
|---|
| 240 | <td class="codeContext" title="$context_token"> |
|---|
| 241 | #if($context.URI && $context.URI != $uri) <a class="direct_link" href="$context.URI" title="$context.URI">link</a> #end |
|---|
| 242 | $!esc.html($!{context.Context}) |
|---|
| 243 | </td> |
|---|
| 244 | |
|---|
| 245 | #if ($b) |
|---|
| 246 | #set ($b = false) |
|---|
| 247 | <td class="info level$message.Level message" id="$messageId" #if($rowspan>1) rowspan="$rowspan" #end> |
|---|
| 248 | <span class="msg">$!esc.html($message.Title)</span> |
|---|
| 249 | #if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end |
|---|
| 250 | </td> |
|---|
| 251 | <td class="anchor" #if($rowspan>1) rowspan="$rowspan" #end><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
|---|
| 252 | #end |
|---|
| 253 | </tr> |
|---|
| 254 | #end |
|---|
| 255 | #end |
|---|
| 256 | #end |
|---|
| 257 | #end |
|---|
| 258 | </tbody> |
|---|
| 259 | </table> |
|---|
| 260 | </div> |
|---|
| 261 | </div> |
|---|
| 262 | #end |
|---|
| 263 | |
|---|
| 264 | #if ($errorCount && $errorCount > 0) |
|---|
| 265 | <div class="section errors" id="${observationName}_error"> |
|---|
| 266 | <h3 class="title"> |
|---|
| 267 | <a class="smooth anchor" title="$anchor_uri" href="#${observationName}_error">a</a> |
|---|
| 268 | $error_label ($errorCount) |
|---|
| 269 | </h3> |
|---|
| 270 | <div class="block result"> |
|---|
| 271 | <table> |
|---|
| 272 | <tbody> |
|---|
| 273 | #set ($messages = $observation.getURISortedMessages(2)) |
|---|
| 274 | #foreach ($uri in $messages.keySet()) |
|---|
| 275 | #set ($uriCount = $velocityCount) |
|---|
| 276 | <tr> |
|---|
| 277 | <td colspan="4" class="uri" id="${observationName}_error_$uriCount"> |
|---|
| 278 | #if ($unicorncall.getInputMethod() == "URI")<span>$uri_token </span><a href="$esc.html($uri)">$esc.html($uri)</a>#end |
|---|
| 279 | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token </span>$esc.html($uri)#end |
|---|
| 280 | #if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end |
|---|
| 281 | </td> |
|---|
| 282 | <td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_error_$uriCount">a</a></td> |
|---|
| 283 | </tr> |
|---|
| 284 | #foreach($message in $messages.get($uri)) |
|---|
| 285 | #set ($messageId = "${observationName}_error_${uriCount}_$velocityCount") |
|---|
| 286 | #if ($message.getContexts().size() == 0) |
|---|
| 287 | <tr> |
|---|
| 288 | <td class="linenumber" title=""></td> |
|---|
| 289 | <td class="colnumber" title=""></td> |
|---|
| 290 | <td class="codeContext" title="$context_token"></td> |
|---|
| 291 | <td class="info level$message.Level message" id="$messageId"> |
|---|
| 292 | <span class="msg">$!esc.html($message.Title)</span> |
|---|
| 293 | #if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end |
|---|
| 294 | </td> |
|---|
| 295 | <td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
|---|
| 296 | </tr> |
|---|
| 297 | #else |
|---|
| 298 | #set ($b = true) |
|---|
| 299 | #set ($rowspan = $message.getContexts().size()) |
|---|
| 300 | #foreach($context in $message.getContexts()) |
|---|
| 301 | <tr> |
|---|
| 302 | <td class="linenumber" title="#if($context.Line)$line_token $context.Line#end">$!context.Line</td> |
|---|
| 303 | <td class="colnumber" title="#if($context.Column)$column_token $context.Column#end">$!context.Column</td> |
|---|
| 304 | <td class="codeContext" title="$context_token"> |
|---|
| 305 | #if($context.URI && $context.URI != $uri) <a class="direct_link" href="$context.URI" title="$context.URI">link</a> #end |
|---|
| 306 | $!esc.html($!{context.Context}) |
|---|
| 307 | </td> |
|---|
| 308 | #if ($b) |
|---|
| 309 | #set ($b = false) |
|---|
| 310 | <td class="info level$message.Level message" id="$messageId" #if($rowspan>1) rowspan="$rowspan" #end> |
|---|
| 311 | <span class="msg">$!esc.html($message.Title)</span> |
|---|
| 312 | #if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end |
|---|
| 313 | </td> |
|---|
| 314 | <td class="anchor" #if($rowspan>1) rowspan="$rowspan" #end><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
|---|
| 315 | #end |
|---|
| 316 | </tr> |
|---|
| 317 | #end |
|---|
| 318 | #end |
|---|
| 319 | #end |
|---|
| 320 | #end |
|---|
| 321 | </tbody> |
|---|
| 322 | </table> |
|---|
| 323 | </div> |
|---|
| 324 | </div> |
|---|
| 325 | #end |
|---|
| 326 | |
|---|
| 327 | #if ($warningCount && $warningCount > 0) |
|---|
| 328 | <div class="section warnings" id="${observationName}_warning"> |
|---|
| 329 | <h3 class="title"> |
|---|
| 330 | <a class="smooth anchor" title="$anchor_uri" href="#${observationName}_warning">a</a> |
|---|
| 331 | $warning_label ($warningCount) |
|---|
| 332 | </h3> |
|---|
| 333 | <div class="block result"> |
|---|
| 334 | <table> |
|---|
| 335 | <tbody> |
|---|
| 336 | #set ($messages = $observation.getURISortedMessages(1)) |
|---|
| 337 | #foreach ($uri in $messages.keySet()) |
|---|
| 338 | #set ($uriCount = $velocityCount) |
|---|
| 339 | <tr> |
|---|
| 340 | <td colspan="4" class="uri" id="${observationName}_warning_$uriCount"> |
|---|
| 341 | #if ($unicorncall.getInputMethod() == "URI")<span>$uri_token </span><a href="$esc.html($uri)">$esc.html($uri)</a>#end |
|---|
| 342 | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token </span>$esc.html($uri)#end |
|---|
| 343 | #if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end |
|---|
| 344 | </td> |
|---|
| 345 | <td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_warning_$uriCount">a</a></td> |
|---|
| 346 | </tr> |
|---|
| 347 | #foreach($message in $messages.get($uri)) |
|---|
| 348 | #set ($messageId = "${observationName}_warning_${uriCount}_$velocityCount") |
|---|
| 349 | #if ($message.getContexts().size() == 0) |
|---|
| 350 | <tr> |
|---|
| 351 | <td class="linenumber" title=""></td> |
|---|
| 352 | <td class="colnumber" title=""></td> |
|---|
| 353 | <td class="codeContext" title="$context_token"></td> |
|---|
| 354 | <td class="info level$message.Level message" id="$messageId"> |
|---|
| 355 | <span class="msg">$!esc.html($message.Title)</span> |
|---|
| 356 | #if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end |
|---|
| 357 | </td> |
|---|
| 358 | <td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
|---|
| 359 | </tr> |
|---|
| 360 | #else |
|---|
| 361 | #set ($b = true) |
|---|
| 362 | #set ($rowspan = $message.getContexts().size()) |
|---|
| 363 | #foreach($context in $message.getContexts()) |
|---|
| 364 | <tr> |
|---|
| 365 | <td class="linenumber" title="#if($context.Line)$line_token $context.Line#end">$!context.Line</td> |
|---|
| 366 | <td class="colnumber" title="#if($context.Column)$column_token $context.Column#end">$!context.Column</td> |
|---|
| 367 | <td class="codeContext" title="$context_token"> |
|---|
| 368 | #if($context.URI && $context.URI != $uri) <a class="direct_link" href="$context.URI" title="$context.URI">link</a> #end |
|---|
| 369 | $!esc.html($!{context.Context}) |
|---|
| 370 | </td> |
|---|
| 371 | #if ($b) |
|---|
| 372 | #set ($b = false) |
|---|
| 373 | <td class="info level$message.Level message" id="$messageId" #if($rowspan>1) rowspan="$rowspan" #end> |
|---|
| 374 | <span class="msg">$!esc.html($message.Title)</span> |
|---|
| 375 | #if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end |
|---|
| 376 | </td> |
|---|
| 377 | <td class="anchor" #if($rowspan>1) rowspan="$rowspan" #end><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
|---|
| 378 | #end |
|---|
| 379 | </tr> |
|---|
| 380 | #end |
|---|
| 381 | #end |
|---|
| 382 | #end |
|---|
| 383 | #end |
|---|
| 384 | </tbody> |
|---|
| 385 | </table> |
|---|
| 386 | </div> |
|---|
| 387 | </div> |
|---|
| 388 | #end |
|---|
| 389 | #end |
|---|
| 390 | </div> |
|---|
| 391 | </div> |
|---|
| 392 | #end |
|---|
| 393 | </div> |
|---|
| 394 | #parse('includes/footer.vm') |
|---|