view mercurial/templates/paper/diffstat.tmpl @ 27582:8f8f3b13252d

hgweb: support rendering a sub-topic If the requested topic contains a "." we assume a sub-topic is requested and display it.
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 30 Dec 2015 17:15:10 -0700
parents c229a5e7511e
children
line wrap: on
line source

  <tr>
    <td class="diffstat-file"><a href="#l{fileno}.1">{file|escape}</a></td>
    <td class="diffstat-total" align="right">{total}</td>
    <td class="diffstat-graph">
      <span class="diffstat-add" style="width:{addpct}%;">&nbsp;</span>
      <span class="diffstat-remove" style="width:{removepct}%;">&nbsp;</span>
    </td>
  </tr>