Mercurial > hg
comparison tests/test-hgweb-symrev.t @ 26244:399e970e35c8
coal: copy newer things from paper
Basically, coal style in hgweb is intended to be functionally equivalent (just
different in style) to paper, and does this by reusing almost all templates
from paper (except header.tmpl, where it specifies a different css file). Looks
like everybody forgot this and so many improvements to paper templates, that
should've also made it into coal, were often only half-done there (usually
thanks to template reuse). Let's fix this by bulk-copying missing things from
paper/map and style-paper.css to coal/map and style-coal.css.
There were many improvements to paper that didn't touch coal, and that makes it
hard to untangle the code and split this patch into many, but here are some of
the changes (paper-only), that now get into coal:
41c4bdd1d585 - hgweb: color line which is linked to in file source view
f3393d458bf5 - hgweb: highlight line which is linked to at annotate view
f2e4fdb3dd27 - hgweb: code selection without line numbers in file source view
5ec5097b4c0f - hgweb: add line wrapping switch to file source view
bf661a03fddc - hgweb: use css margin instead of empty <p> before diffstat table
It also fixes line anchor in annotateline template (#42 vs #l42).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 13 Sep 2015 21:01:34 +0800 |
parents | 9d6d3fee0c3f |
children | 8d49d4899b0f |
comparison
equal
deleted
inserted
replaced
26243:836291420d53 | 26244:399e970e35c8 |
---|---|
374 <li><a href="/log/xyzzy/foo?style=coal">file log</a></li> | 374 <li><a href="/log/xyzzy/foo?style=coal">file log</a></li> |
375 <li><a href="/raw-annotate/xyzzy/foo">raw</a></li> | 375 <li><a href="/raw-annotate/xyzzy/foo">raw</a></li> |
376 annotate foo @ 1:<a href="/rev/a7c1559b7bba?style=coal">a7c1559b7bba</a> | 376 annotate foo @ 1:<a href="/rev/a7c1559b7bba?style=coal">a7c1559b7bba</a> |
377 <td class="author"><a href="/file/43c799df6e75/foo?style=coal">43c799df6e75</a> </td> | 377 <td class="author"><a href="/file/43c799df6e75/foo?style=coal">43c799df6e75</a> </td> |
378 <td class="author"><a href="/file/9d8c40cba617/foo?style=coal">9d8c40cba617</a> </td> | 378 <td class="author"><a href="/file/9d8c40cba617/foo?style=coal">9d8c40cba617</a> </td> |
379 <a href="/annotate/43c799df6e75/foo?style=coal#1" | 379 <a href="/annotate/43c799df6e75/foo?style=coal#l1" |
380 <a href="/annotate/a7c1559b7bba/foo?style=coal#2" | 380 <a href="/annotate/a7c1559b7bba/foo?style=coal#l2" |
381 | 381 |
382 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'diff/xyzzy/foo?style=coal' | egrep $REVLINKS | 382 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'diff/xyzzy/foo?style=coal' | egrep $REVLINKS |
383 <li><a href="/shortlog/xyzzy?style=coal">log</a></li> | 383 <li><a href="/shortlog/xyzzy?style=coal">log</a></li> |
384 <li><a href="/graph/xyzzy?style=coal">graph</a></li> | 384 <li><a href="/graph/xyzzy?style=coal">graph</a></li> |
385 <li><a href="/rev/xyzzy?style=coal">changeset</a></li> | 385 <li><a href="/rev/xyzzy?style=coal">changeset</a></li> |