Mercurial > hg
annotate templates/monoblue/search.tmpl @ 8796:2bcef677a6c3
localrepo: remove 'closed' argument to heads(...) function
- repository heads are not associated with the closed attribute, so
remove it making the code in line with the concept.
- Fix functions that were calling heads with the parameter.
- Adjust webcommands.branches to include the concept of inactive
as well as open and closed branches
- Fix code and docstrings in commands to make the correct use of
closed branches & branch heads clearer
- Improve grammar of 'hg heads' help text (2nd submission)
this does not alter the cli for hg branches, that work is
still to be done
author | John Mulligan <phlogistonjohn@asynchrono.us> |
---|---|
date | Wed, 10 Jun 2009 19:11:49 -0400 |
parents | 8b47efdf40ee |
children |
rev | line source |
---|---|
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
1 {header} |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
2 <title>{repo|escape}: Search</title> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
3 <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
4 <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> |
7111 | 5 </head> |
6 | |
7 <body> | |
8 <div id="container"> | |
9 <div class="page-header"> | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
10 <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / search</h1> |
7111 | 11 |
12 <form action="{url}log"> | |
13 {sessionvars%hiddenformentry} | |
14 <dl class="search"> | |
15 <dt><label>Search: </label></dt> | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
16 <dd><input type="text" name="rev" value="{query|escape}" /></dd> |
7111 | 17 </dl> |
18 </form> | |
19 | |
20 <ul class="page-nav"> | |
21 <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> | |
22 <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> | |
23 <li><a href="{url}log{sessionvars%urlparameter}">changelog</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> | |
8355
5ba798f339c8
monoblue: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
7111
diff
changeset
|
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} |
7111 | 28 </ul> |
29 </div> | |
30 | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
31 <h2 class="no-link no-border">searching for {query|escape}</h2> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
32 {entries} |
7111 | 33 |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
34 {footer} |