Mercurial > hg
comparison mercurial/templates/paper/filelog.tmpl @ 27554:1c66497261b2
hgweb: fixed invalid atom-log feed url in file log page
currently "subscribe to atom feed" link in file log page is as follows.
/atom-log/[revision]/[file]
This is invalid, because we could not get newer commit feed than [revision].
To fix this, atom-log feed url should be the following style.
atom-log/tip/[file]
author | Yoshinari Takaoka <mumumu@mumumu.org> |
---|---|
date | Tue, 29 Dec 2015 00:48:03 +0900 |
parents | 37290f2f2c3b |
children | 5e6d44511317 |
comparison
equal
deleted
inserted
replaced
27553:56caab876bd8 | 27554:1c66497261b2 |
---|---|
34 </ul> | 34 </ul> |
35 <ul> | 35 <ul> |
36 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> | 36 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> |
37 </ul> | 37 </ul> |
38 <div class="atom-logo"> | 38 <div class="atom-logo"> |
39 <a href="{url|urlescape}atom-log/{node|short}/{file|urlescape}" title="subscribe to atom feed"> | 39 <a href="{url|urlescape}atom-log/tip/{file|urlescape}" title="subscribe to atom feed"> |
40 <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" /> | 40 <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" /> |
41 </a> | 41 </a> |
42 </div> | 42 </div> |
43 </div> | 43 </div> |
44 | 44 |