MercurialWebTheme

Changeset

29:684a640b60a6
2011-02-26 Paul Boddie raw files shortlog changelog graph Added XML-escaping of person data values.
themes/mercurialweb/changelogentry.tmpl (file) themes/mercurialweb/changeset.tmpl (file) themes/mercurialweb/fileannotate.tmpl (file) themes/mercurialweb/filerevision.tmpl (file) themes/mercurialweb/searchentry.tmpl (file) themes/mercurialweb/shortlogentry.tmpl (file)
     1.1 --- a/themes/mercurialweb/changelogentry.tmpl	Sun Oct 31 17:53:34 2010 +0100
     1.2 +++ b/themes/mercurialweb/changelogentry.tmpl	Sat Feb 26 02:00:27 2011 +0100
     1.3 @@ -7,7 +7,7 @@
     1.4  </tr>
     1.5  <tr>
     1.6    <td>{date|age}</td>
     1.7 -  <td>{author|person}</td>
     1.8 +  <td>{author|person|xmlescape}</td>
     1.9    <td class="navigation">
    1.10      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
    1.11      <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
     2.1 --- a/themes/mercurialweb/changeset.tmpl	Sun Oct 31 17:53:34 2010 +0100
     2.2 +++ b/themes/mercurialweb/changeset.tmpl	Sat Feb 26 02:00:27 2011 +0100
     2.3 @@ -36,7 +36,7 @@
     2.4    <tbody>
     2.5      <tr>
     2.6        <td>{date|age}</td>
     2.7 -      <td>{author|person}</td>
     2.8 +      <td>{author|person|xmlescape}</td>
     2.9        <td class="navigation">
    2.10          <a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a>
    2.11          <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
     3.1 --- a/themes/mercurialweb/fileannotate.tmpl	Sun Oct 31 17:53:34 2010 +0100
     3.2 +++ b/themes/mercurialweb/fileannotate.tmpl	Sat Feb 26 02:00:27 2011 +0100
     3.3 @@ -36,7 +36,7 @@
     3.4    <tbody>
     3.5      <tr>
     3.6        <td>{date|age}</td>
     3.7 -      <td>{author|person}</td>
     3.8 +      <td>{author|person|xmlescape}</td>
     3.9        <td class="navigation">
    3.10          <a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a>
    3.11          <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
     4.1 --- a/themes/mercurialweb/filerevision.tmpl	Sun Oct 31 17:53:34 2010 +0100
     4.2 +++ b/themes/mercurialweb/filerevision.tmpl	Sat Feb 26 02:00:27 2011 +0100
     4.3 @@ -36,7 +36,7 @@
     4.4    <tbody>
     4.5      <tr>
     4.6        <td>{date|age}</td>
     4.7 -      <td>{author|person}</td>
     4.8 +      <td>{author|person|xmlescape}</td>
     4.9        <td class="navigation">
    4.10          <a href="{url}raw-file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">raw</a>
    4.11          <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
     5.1 --- a/themes/mercurialweb/searchentry.tmpl	Sun Oct 31 17:53:34 2010 +0100
     5.2 +++ b/themes/mercurialweb/searchentry.tmpl	Sat Feb 26 02:00:27 2011 +0100
     5.3 @@ -1,6 +1,6 @@
     5.4  <tr class="parity{parity}">
     5.5    <td>{date|age}</td>
     5.6 -  <td>{author|person}</td>
     5.7 +  <td>{author|person|xmlescape}</td>
     5.8    <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
     5.9    <td><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
    5.10  </tr>
     6.1 --- a/themes/mercurialweb/shortlogentry.tmpl	Sun Oct 31 17:53:34 2010 +0100
     6.2 +++ b/themes/mercurialweb/shortlogentry.tmpl	Sat Feb 26 02:00:27 2011 +0100
     6.3 @@ -1,6 +1,6 @@
     6.4  <tr class="parity{parity}" id="{node|short}">
     6.5    <td>{date|age}</td>
     6.6 -  <td>{author|person}</td>
     6.7 +  <td>{author|person|xmlescape}</td>
     6.8    <td class="navigation"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
     6.9    <td width="50%" class="commentline"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
    6.10    <td class="branchinfo">{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>