Submitter | Angel Ezquerra |
---|---|
Date | Dec. 20, 2012, 9:33 p.m. |
Message ID | <a6a46c80a4847eea523c.1356039180@Angel-PC.localdomain> |
Download | mbox | patch |
Permalink | /patch/225/ |
State | Superseded |
Commit | b31266671918c4b7e9015219705bd36470f6b586 |
Headers | show |
Comments
On Thu, 2012-12-20 at 22:33 +0100, Angel Ezquerra wrote: > # HG changeset patch > # User Angel Ezquerra <angel.ezquerra at gmail.com> > # Date 1354578089 -3600 > # Node ID a6a46c80a4847eea523cb8b82403571185b3488d > # Parent 8ceabb34f1cb5469b7dd6b2d7b1ce4727d719e65 > hgweb: add (Atom) subscribe link to the main paper template pages You still missed filelog.tmpl. And you forgot --git, so we lost the logo. > diff -r 8ceabb34f1cb -r a6a46c80a484 mercurial/templates/static/feed-icon-14x14.png > Binary file mercurial/templates/static/feed-icon-14x14.png has changed
On Thu, Dec 20, 2012 at 11:10 PM, Matt Mackall <mpm at selenic.com> wrote: > On Thu, 2012-12-20 at 22:33 +0100, Angel Ezquerra wrote: >> # HG changeset patch >> # User Angel Ezquerra <angel.ezquerra at gmail.com> >> # Date 1354578089 -3600 >> # Node ID a6a46c80a4847eea523cb8b82403571185b3488d >> # Parent 8ceabb34f1cb5469b7dd6b2d7b1ce4727d719e65 >> hgweb: add (Atom) subscribe link to the main paper template pages > > You still missed filelog.tmpl. And you forgot --git, so we lost the > logo. > >> diff -r 8ceabb34f1cb -r a6a46c80a484 mercurial/templates/static/feed-icon-14x14.png >> Binary file mercurial/templates/static/feed-icon-14x14.png has changed Sorry, I did not realize that even worked! I'll resend in a minute, thanks. Angel
Patch
diff -r 8ceabb34f1cb -r a6a46c80a484 mercurial/templates/paper/bookmarks.tmpl --- a/mercurial/templates/paper/bookmarks.tmpl Wed Dec 19 10:02:43 2012 +0100 +++ b/mercurial/templates/paper/bookmarks.tmpl Tue Dec 04 00:41:29 2012 +0100 @@ -23,6 +23,12 @@ <ul> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> </ul> +<p> +<div class="atom-logo"> +<a href="{url}atom-bookmarks" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"> +</a> +</div> </div> <div class="main"> diff -r 8ceabb34f1cb -r a6a46c80a484 mercurial/templates/paper/branches.tmpl --- a/mercurial/templates/paper/branches.tmpl Wed Dec 19 10:02:43 2012 +0100 +++ b/mercurial/templates/paper/branches.tmpl Tue Dec 04 00:41:29 2012 +0100 @@ -23,6 +23,12 @@ <ul> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> </ul> +<p> +<div class="atom-logo"> +<a href="{url}atom-branches" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"> +</a> +</div> </div> <div class="main"> diff -r 8ceabb34f1cb -r a6a46c80a484 mercurial/templates/paper/graph.tmpl --- a/mercurial/templates/paper/graph.tmpl Wed Dec 19 10:02:43 2012 +0100 +++ b/mercurial/templates/paper/graph.tmpl Tue Dec 04 00:41:29 2012 +0100 @@ -28,6 +28,12 @@ <ul> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> </ul> +<p> +<div class="atom-logo"> +<a href="{url}atom-log" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"> +</a> +</div> </div> <div class="main"> diff -r 8ceabb34f1cb -r a6a46c80a484 mercurial/templates/paper/shortlog.tmpl --- a/mercurial/templates/paper/shortlog.tmpl Wed Dec 19 10:02:43 2012 +0100 +++ b/mercurial/templates/paper/shortlog.tmpl Tue Dec 04 00:41:29 2012 +0100 @@ -30,6 +30,12 @@ <ul> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> </ul> +<p> +<div class="atom-logo"> +<a href="{url}atom-log" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"> +</a> +</div> </div> <div class="main"> diff -r 8ceabb34f1cb -r a6a46c80a484 mercurial/templates/paper/tags.tmpl --- a/mercurial/templates/paper/tags.tmpl Wed Dec 19 10:02:43 2012 +0100 +++ b/mercurial/templates/paper/tags.tmpl Tue Dec 04 00:41:29 2012 +0100 @@ -23,6 +23,11 @@ <ul> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> </ul> +<p> +<div class="atom-logo"> +<a href="{url}atom-tags" title="subscribe to atom feed"> +<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"></a> +</div> </div> <div class="main"> diff -r 8ceabb34f1cb -r a6a46c80a484 mercurial/templates/static/feed-icon-14x14.png Binary file mercurial/templates/static/feed-icon-14x14.png has changed diff -r 8ceabb34f1cb -r a6a46c80a484 mercurial/templates/static/style-paper.css --- a/mercurial/templates/static/style-paper.css Wed Dec 19 10:02:43 2012 +0100 +++ b/mercurial/templates/static/style-paper.css Tue Dec 04 00:41:29 2012 +0100 @@ -60,6 +60,12 @@ border: 0; } +.atom-logo img{ + width: 14px; + height: 14px; + border: 0; +} + .menu a { color: black; display: block; } .search {