##// END OF EJS Templates
hgweb: add branches RSS and Atom feeds...
Angel Ezquerra -
r18045:add2f9dd default
parent child Browse files
Show More
@@ -0,0 +1,8 b''
1 <entry>
2 <title>{branch|escape}</title>
3 <link rel="alternate" href="{urlbase}{url}rev/{node|short}"/>
4 <id>{urlbase}{url}#branch-{node}</id>
5 <updated>{date|rfc3339date}</updated>
6 <published>{date|rfc3339date}</published>
7 <content type="text"><![CDATA[{branch|strip|escape|addbreaks}]]></content>
8 </entry>
@@ -0,0 +1,11 b''
1 {header}
2 <id>{urlbase}{url}</id>
3 <link rel="self" href="{urlbase}{url}atom-tags"/>
4 <link rel="alternate" href="{urlbase}{url}tags"/>
5 <title>{repo|escape}: branches</title>
6 <summary>{repo|escape} branch history</summary>
7 <author><name>Mercurial SCM</name></author>
8 {latestentry%feedupdated}
9
10 {entries%branchentry}
11 </feed>
@@ -0,0 +1,6 b''
1 <item>
2 <title>{branch|escape}</title>
3 <link>{urlbase}{url}rev/{node|short}</link>
4 <description><![CDATA[{branch|strip|escape|addbreaks}]]></description>
5 <pubDate>{date|rfc822date}</pubDate>
6 </item>
@@ -0,0 +1,6 b''
1 {header}
2 <title>{repo|escape}: branches</title>
3 <description>{repo|escape} branch history</description>
4 {entries%branchentry}
5 </channel>
6 </rss>
@@ -1,13 +1,15 b''
1 default = 'changelog'
1 default = 'changelog'
2 feedupdated = '<updated>{date|rfc3339date}</updated>'
2 feedupdated = '<updated>{date|rfc3339date}</updated>'
3 mimetype = 'application/atom+xml; charset={encoding}'
3 mimetype = 'application/atom+xml; charset={encoding}'
4 header = header.tmpl
4 header = header.tmpl
5 changelog = changelog.tmpl
5 changelog = changelog.tmpl
6 changelogentry = changelogentry.tmpl
6 changelogentry = changelogentry.tmpl
7 filelog = filelog.tmpl
7 filelog = filelog.tmpl
8 filelogentry = filelogentry.tmpl
8 filelogentry = filelogentry.tmpl
9 tags = tags.tmpl
9 tags = tags.tmpl
10 tagentry = tagentry.tmpl
10 tagentry = tagentry.tmpl
11 bookmarks = bookmarks.tmpl
11 bookmarks = bookmarks.tmpl
12 bookmarkentry = bookmarkentry.tmpl
12 bookmarkentry = bookmarkentry.tmpl
13 branches = branches.tmpl
14 branchentry = branchentry.tmpl
13 error = error.tmpl
15 error = error.tmpl
@@ -1,32 +1,32 b''
1 {header}
1 {header}
2 <title>{repo|escape}: Branches</title>
2 <title>{repo|escape}: Branches</title>
3 <link rel="alternate" type="application/atom+xml"
3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-tags" title="Atom feed for {repo|escape}"/>
4 href="{url}atom-branches" title="Atom feed for {repo|escape}"/>
5 <link rel="alternate" type="application/rss+xml"
5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-tags" title="RSS feed for {repo|escape}"/>
6 href="{url}rss-branches" title="RSS feed for {repo|escape}"/>
7 </head>
7 </head>
8 <body>
8 <body>
9
9
10 <div class="page_header">
10 <div class="page_header">
11 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / branches
11 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / branches
12 </div>
12 </div>
13
13
14 <div class="page_nav">
14 <div class="page_nav">
15 <a href="{url}summary{sessionvars%urlparameter}">summary</a> |
15 <a href="{url}summary{sessionvars%urlparameter}">summary</a> |
16 <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |
16 <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |
17 <a href="{url}log{sessionvars%urlparameter}">changelog</a> |
17 <a href="{url}log{sessionvars%urlparameter}">changelog</a> |
18 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
18 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
19 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
19 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
20 <a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> |
20 <a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> |
21 branches |
21 branches |
22 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
22 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
23 <a href="{url}help{sessionvars%urlparameter}">help</a>
23 <a href="{url}help{sessionvars%urlparameter}">help</a>
24 <br/>
24 <br/>
25 </div>
25 </div>
26
26
27 <div class="title">&nbsp;</div>
27 <div class="title">&nbsp;</div>
28 <table cellspacing="0">
28 <table cellspacing="0">
29 {entries%branchentry}
29 {entries%branchentry}
30 </table>
30 </table>
31
31
32 {footer}
32 {footer}
@@ -1,38 +1,38 b''
1 {header}
1 {header}
2 <title>{repo|escape}: Branches</title>
2 <title>{repo|escape}: Branches</title>
3 <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/>
3 <link rel="alternate" type="application/atom+xml" href="{url}atom-branches" title="Atom feed for {repo|escape}"/>
4 <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/>
4 <link rel="alternate" type="application/rss+xml" href="{url}rss-branches" title="RSS feed for {repo|escape}"/>
5 </head>
5 </head>
6
6
7 <body>
7 <body>
8 <div id="container">
8 <div id="container">
9 <div class="page-header">
9 <div class="page-header">
10 <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / branches</h1>
10 <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / branches</h1>
11
11
12 <form action="{url}log">
12 <form action="{url}log">
13 {sessionvars%hiddenformentry}
13 {sessionvars%hiddenformentry}
14 <dl class="search">
14 <dl class="search">
15 <dt><label>Search: </label></dt>
15 <dt><label>Search: </label></dt>
16 <dd><input type="text" name="rev" /></dd>
16 <dd><input type="text" name="rev" /></dd>
17 </dl>
17 </dl>
18 </form>
18 </form>
19
19
20 <ul class="page-nav">
20 <ul class="page-nav">
21 <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li>
21 <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li>
22 <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
22 <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
23 <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
23 <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
24 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
24 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
26 <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
27 <li class="current">branches</li>
27 <li class="current">branches</li>
28 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
28 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
29 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
29 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
30 </ul>
30 </ul>
31 </div>
31 </div>
32
32
33 <h2 class="no-link no-border">branches</h2>
33 <h2 class="no-link no-border">branches</h2>
34 <table cellspacing="0">
34 <table cellspacing="0">
35 {entries%branchentry}
35 {entries%branchentry}
36 </table>
36 </table>
37
37
38 {footer}
38 {footer}
@@ -1,60 +1,60 b''
1 {header}
1 {header}
2 <title>{repo|escape}: branches</title>
2 <title>{repo|escape}: branches</title>
3 <link rel="alternate" type="application/atom+xml"
3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-tags" title="Atom feed for {repo|escape}: branches" />
4 href="{url}atom-branches" title="Atom feed for {repo|escape}: branches" />
5 <link rel="alternate" type="application/rss+xml"
5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-tags" title="RSS feed for {repo|escape}: branches" />
6 href="{url}rss-branches" title="RSS feed for {repo|escape}: branches" />
7 </head>
7 </head>
8 <body>
8 <body>
9
9
10 <div class="container">
10 <div class="container">
11 <div class="menu">
11 <div class="menu">
12 <div class="logo">
12 <div class="logo">
13 <a href="{logourl}">
13 <a href="{logourl}">
14 <img src="{staticurl}{logoimg}" alt="mercurial" /></a>
14 <img src="{staticurl}{logoimg}" alt="mercurial" /></a>
15 </div>
15 </div>
16 <ul>
16 <ul>
17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
20 <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
20 <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
21 <li class="active">branches</li>
21 <li class="active">branches</li>
22 </ul>
22 </ul>
23 <ul>
23 <ul>
24 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
24 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
25 </ul>
25 </ul>
26 </div>
26 </div>
27
27
28 <div class="main">
28 <div class="main">
29 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
29 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
30 <h3>branches</h3>
30 <h3>branches</h3>
31
31
32 <form class="search" action="{url}log">
32 <form class="search" action="{url}log">
33 {sessionvars%hiddenformentry}
33 {sessionvars%hiddenformentry}
34 <p><input name="rev" id="search1" type="text" size="30" /></p>
34 <p><input name="rev" id="search1" type="text" size="30" /></p>
35 <div id="hint">find changesets by author, revision,
35 <div id="hint">find changesets by author, revision,
36 files, or words in the commit message</div>
36 files, or words in the commit message</div>
37 </form>
37 </form>
38
38
39 <table class="bigtable">
39 <table class="bigtable">
40 <tr>
40 <tr>
41 <th>branch</th>
41 <th>branch</th>
42 <th>node</th>
42 <th>node</th>
43 </tr>
43 </tr>
44 {entries %
44 {entries %
45 ' <tr class="tagEntry parity{parity}">
45 ' <tr class="tagEntry parity{parity}">
46 <td>
46 <td>
47 <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
47 <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
48 {branch|escape}
48 {branch|escape}
49 </a>
49 </a>
50 </td>
50 </td>
51 <td class="node">
51 <td class="node">
52 {node|short}
52 {node|short}
53 </td>
53 </td>
54 </tr>'
54 </tr>'
55 }
55 }
56 </table>
56 </table>
57 </div>
57 </div>
58 </div>
58 </div>
59
59
60 {footer}
60 {footer}
@@ -1,12 +1,14 b''
1 default = 'changelog'
1 default = 'changelog'
2 mimetype = 'text/xml; charset={encoding}'
2 mimetype = 'text/xml; charset={encoding}'
3 header = header.tmpl
3 header = header.tmpl
4 changelog = changelog.tmpl
4 changelog = changelog.tmpl
5 changelogentry = changelogentry.tmpl
5 changelogentry = changelogentry.tmpl
6 filelog = filelog.tmpl
6 filelog = filelog.tmpl
7 filelogentry = filelogentry.tmpl
7 filelogentry = filelogentry.tmpl
8 tags = tags.tmpl
8 tags = tags.tmpl
9 tagentry = tagentry.tmpl
9 tagentry = tagentry.tmpl
10 bookmarks = bookmarks.tmpl
10 bookmarks = bookmarks.tmpl
11 bookmarkentry = bookmarkentry.tmpl
11 bookmarkentry = bookmarkentry.tmpl
12 branches = branches.tmpl
13 branchentry = branchentry.tmpl
12 error = error.tmpl
14 error = error.tmpl
General Comments 0
You need to be logged in to leave comments. Login now