Mercurial > hg
view mercurial/templates/paper/bookmarks.tmpl @ 13964:616ad3f6fd33
hgweb: support alternate logo url
Clicking on the logo image/text in the hgweb interface brings the
user to the Mercurial project page. The majority of users expect that
this would bring them to the top level index. I have added a new template
variable named `logourl' which allows an administrator to change this
behavior. To stay compatible with existing behavior, `logourl' will
default to http://mercurial.selenic.com/. This change is very useful in
large installations where jumping to the index is common.
author | Steven Stallion <sstallion@gmail.com> |
---|---|
date | Tue, 19 Apr 2011 23:37:06 -0400 |
parents | 38c9837b1f75 |
children | 44382887d012 |
line wrap: on
line source
{header} <title>{repo|escape}: bookmarks</title> <link rel="alternate" type="application/atom+xml" href="{url}atom-bookmarks" title="Atom feed for {repo|escape}: bookmarks" /> <link rel="alternate" type="application/rss+xml" href="{url}rss-bookmarks" title="RSS feed for {repo|escape}: bookmarks" /> </head> <body> <div class="container"> <div class="menu"> <div class="logo"> <a href="{logourl}"> <img src="{staticurl}hglogo.png" alt="mercurial" /></a> </div> <ul> <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> <li class="active">bookmarks</li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <div class="main"> <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> <h3>bookmarks</h3> <form class="search" action="{url}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <table class="bigtable"> <tr> <th>bookmark</th> <th>node</th> </tr> {entries%bookmarkentry} </table> </div> </div> {footer}