W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2010

markup-validator commit: Do not make line numbers links when not showing source in grouped display mode.

From: Mercurial notifier <nobody@w3.org>
Date: Wed, 30 Jun 2010 20:33:36 +0000
To: markup-validator updates <www-validator-cvs@w3.org>
Message-Id: <E1OU3yS-0003oL-A9@blinky.w3.org>
changeset:   3111:98508e38bd58
tag:         tip
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Wed Jun 30 23:33:08 2010 +0300
files:       share/templates/en_US/error_loop_grouped.tmpl
description:
Do not make line numbers links when not showing source in grouped display mode.


diff -r c109cd86c94e -r 98508e38bd58 share/templates/en_US/error_loop_grouped.tmpl
--- a/share/templates/en_US/error_loop_grouped.tmpl	Wed Jun 30 00:02:38 2010 +0300
+++ b/share/templates/en_US/error_loop_grouped.tmpl	Wed Jun 30 23:33:08 2010 +0300
@@ -9,8 +9,8 @@
         <ul>
         <TMPL_LOOP NAME="instances">
                         <li>
-                          <em>Line <a href="#line-<TMPL_VAR NAME="line" 
-                              ESCAPE="HTML">"><TMPL_VAR NAME="line" ESCAPE="HTML"></a>,
+                          <em>Line <TMPL_IF NAME="opt_show_source"><a href="#line-<TMPL_VAR NAME="line" 
+                              ESCAPE="HTML">"></TMPL_IF><TMPL_VAR NAME="line" ESCAPE="HTML"><TMPL_IF NAME="opt_show_source"></a></TMPL_IF>,
                               column <TMPL_VAR NAME="char" ESCAPE="HTML"></em>:
                               <span><TMPL_VAR NAME="msg" ESCAPE="HTML"></span> 
                               <pre><code class="input"><TMPL_VAR NAME="src"></code></pre>
Received on Wednesday, 30 June 2010 20:33:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:21 GMT