Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hgweb-removed.t @ 14571:17c0cb1045e5
paper, coal: display diffstat on the changeset page
Displayed in a row of the changeset summary table, underneath the list of
files. When the page is loaded, only the diff summary is displayed. The full
diffstat is only displayed when the [+] link is selected.
author | Steven Brown <StevenGBrown@gmail.com> |
---|---|
date | Sat, 11 Jun 2011 21:24:50 +0800 |
parents | b24e5a708fad |
children | 4aef71839337 |
line wrap: on
line diff
--- a/tests/test-hgweb-removed.t Sat Jun 11 21:11:43 2011 +0800 +++ b/tests/test-hgweb-removed.t Sat Jun 11 21:24:50 2011 +0800 @@ -89,6 +89,27 @@ <th class="files">files</th> <td class="files">a </td> </tr> + <tr> + <th class="diffstat">diffstat</th> + <td class="diffstat"> + 1 files changed, 0 insertions(+), 1 deletions(-) + + <a id="diffstatexpand" href="javascript:showDiffstat()"/>[+]</a> + <div id="diffstatdetails" style="display:none;"> + <a href="javascript:hideDiffstat()"/>[-]</a> + <p> + <table> <tr class="parity0"> + <td class="diffstat-file"><a href="#l1.1">a</a></td> + <td class="diffstat-total" align="right">1</td> + <td class="diffstat-graph"> + <span class="diffstat-add" style="width:0.0%;"> </span> + <span class="diffstat-remove" style="width:100.0%;"> </span> + </td> + </tr> + </table> + </div> + </td> + </tr> </table> <div class="overflow">