comparison tests/test-highlight.t @ 32070:a298f5c61b34 stable

hgweb: do not show "descending" link in followlines UI for filelog heads When on a filelog head, we are certain that there will be no descendant so the target of the "descending" link will lead to an empty log result. Do not display the link in this case.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Mon, 24 Apr 2017 10:32:15 +0200
parents d15c9feb4399
children cba4461aa0a0
comparison
equal deleted inserted replaced
32069:a457da5296a5 32070:a298f5c61b34
147 </table> 147 </table>
148 148
149 <div class="overflow"> 149 <div class="overflow">
150 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div> 150 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
151 <div class="sourcefirst"> line source</div> 151 <div class="sourcefirst"> line source</div>
152 <pre class="sourcelines stripes4 wrap bottomline" data-logurl="/log/tip/primes.py"> 152 <pre class="sourcelines stripes4 wrap bottomline" data-logurl="/log/tip/primes.py" data-ishead="1">
153 <span id="l1"><span class="c">#!/usr/bin/env python</span></span><a href="#l1"></a> 153 <span id="l1"><span class="c">#!/usr/bin/env python</span></span><a href="#l1"></a>
154 <span id="l2"></span><a href="#l2"></a> 154 <span id="l2"></span><a href="#l2"></a>
155 <span id="l3"><span class="sd">&quot;&quot;&quot;Fun with generators. Corresponding Haskell implementation:</span></span><a href="#l3"></a> 155 <span id="l3"><span class="sd">&quot;&quot;&quot;Fun with generators. Corresponding Haskell implementation:</span></span><a href="#l3"></a>
156 <span id="l4"></span><a href="#l4"></a> 156 <span id="l4"></span><a href="#l4"></a>
157 <span id="l5"><span class="sd">primes = 2 : sieve [3, 5..]</span></span><a href="#l5"></a> 157 <span id="l5"><span class="sd">primes = 2 : sieve [3, 5..]</span></span><a href="#l5"></a>