Mercurial > hg
changeset 7124:63579aa36c8e
graph: replace the blinking no javascript message
author | Benoit Allard <benoit@aeteurope.nl> |
---|---|
date | Sat, 18 Oct 2008 16:09:07 +0200 |
parents | 716277f5867e |
children | 4a1ac535be1d |
files | templates/coal/graph.tmpl templates/gitweb/graph.tmpl templates/graph.tmpl tests/test-hgweb-commands.out |
diffstat | 4 files changed, 3 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/coal/graph.tmpl Sat Oct 18 15:49:15 2008 +0200 +++ b/templates/coal/graph.tmpl Sat Oct 18 16:09:07 2008 +0200 @@ -40,7 +40,7 @@ | {changenav%navgraphentry} </div> -<div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div> +<noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> <div id="wrapper"> <ul id="nodebgs"></ul> @@ -52,8 +52,6 @@ <script type="text/javascript"> <!-- hide script content -document.getElementById('noscript').style.display = 'none'; - var data = {jsdata|json}; var graph = new Graph(); graph.scale({bg_height});
--- a/templates/gitweb/graph.tmpl Sat Oct 18 15:49:15 2008 +0200 +++ b/templates/gitweb/graph.tmpl Sat Oct 18 16:09:07 2008 +0200 @@ -32,7 +32,7 @@ <div class="title"> </div> -<div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div> +<noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> <div id="wrapper"> <ul id="nodebgs"></ul> @@ -44,8 +44,6 @@ <script> <!-- hide script content -document.getElementById('noscript').style.display = 'none'; - var data = {jsdata|json}; var graph = new Graph(); graph.scale({bg_height});
--- a/templates/graph.tmpl Sat Oct 18 15:49:15 2008 +0200 +++ b/templates/graph.tmpl Sat Oct 18 16:09:07 2008 +0200 @@ -26,7 +26,7 @@ </p> </form> -<div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div> +<noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> <div id="wrapper"> <ul id="nodebgs"></ul> @@ -38,8 +38,6 @@ <script type="text/javascript"> <!-- hide script content -document.getElementById('noscript').style.display = 'none'; - var data = {jsdata|json}; var graph = new Graph(); graph.scale({bg_height});