Mercurial > hg
comparison mercurial/templates/rss/changelogentry.tmpl @ 21118:e1a3898a8bb8
hgweb: adding branch names from inbranch template to rss feed
author | Aaron Jensen <ajensen@webmd.net> |
---|---|
date | Thu, 17 Apr 2014 11:47:49 -0700 |
parents | 19ee4923a2b6 |
children | 26f39f28b059 |
comparison
equal
deleted
inserted
replaced
21117:91eb605022f5 | 21118:e1a3898a8bb8 |
---|---|
1 <item> | 1 <item> |
2 <title>{branches%"{if(name, '[{name|escape}] ')}"}{desc|strip|firstline|strip|escape}</title> | 2 <title>{inbranch%"{if(name, '[{name|escape}] ')}"}{branches%"{if(name, '[{name|escape}] ')}"}{desc|strip|firstline|strip|escape}</title> |
3 <guid isPermaLink="true">{urlbase}{url|urlescape}rev/{node|short}</guid> | 3 <guid isPermaLink="true">{urlbase}{url|urlescape}rev/{node|short}</guid> |
4 <description> | 4 <description> |
5 <![CDATA[ | 5 <![CDATA[ |
6 <table> | 6 <table> |
7 <tr> | 7 <tr> |
8 <th style="text-align:left;">changeset</th> | 8 <th style="text-align:left;">changeset</th> |
9 <td>{node|short}</td> | 9 <td>{node|short}</td> |
10 </tr> | 10 </tr> |
11 <tr> | 11 <tr> |
12 <th style="text-align:left;">branch</th> | 12 <th style="text-align:left;">branch</th> |
13 <td>{branches%"{name|escape}"}</td> | 13 <td>{inbranch%"{name|escape}"}{branches%"{name|escape}"}</td> |
14 </tr> | 14 </tr> |
15 <tr> | 15 <tr> |
16 <th style="text-align:left;">bookmark</th> | 16 <th style="text-align:left;">bookmark</th> |
17 <td>{bookmarks%"{name|escape}"}</td> | 17 <td>{bookmarks%"{name|escape}"}</td> |
18 </tr> | 18 </tr> |
19 <tr> | 19 <tr> |
20 <th style="text-align:left;">tag</th> | 20 <th style="text-align:left;">tag</th> |
21 <td>{tags%"{name|escape}"}</td> | 21 <td>{tags%"{name|escape}"}</td> |