mercurial/templates/gitweb/branches.tmpl
author Steven Stallion <sstallion@gmail.com>
Tue, 19 Apr 2011 23:37:06 -0400
changeset 13964 616ad3f6fd33
parent 13864 fd8a6ca3a750
child 18045 add2f9ddcfb5
permissions -rw-r--r--
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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
     1
{header}
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
     2
<title>{repo|escape}: Branches</title>
8356
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     3
<link rel="alternate" type="application/atom+xml"
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
     4
   href="{url}atom-tags" title="Atom feed for {repo|escape}"/>
8356
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     5
<link rel="alternate" type="application/rss+xml"
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
     6
   href="{url}rss-tags" title="RSS feed for {repo|escape}"/>
8356
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     7
</head>
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     8
<body>
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     9
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    10
<div class="page_header">
13964
616ad3f6fd33 hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com>
parents: 13864
diff changeset
    11
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / branches
8356
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    12
</div>
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    13
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    14
<div class="page_nav">
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    15
<a href="{url}summary{sessionvars%urlparameter}">summary</a> |
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    16
<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    17
<a href="{url}log{sessionvars%urlparameter}">changelog</a> |
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    18
<a href="{url}graph{sessionvars%urlparameter}">graph</a> |
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    19
<a href="{url}tags{sessionvars%urlparameter}">tags</a> |
13864
fd8a6ca3a750 hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 12666
diff changeset
    20
<a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> |
8356
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    21
branches |
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 9999
diff changeset
    22
<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 9999
diff changeset
    23
<a href="{url}help{sessionvars%urlparameter}">help</a>
8356
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    24
<br/>
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    25
</div>
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    26
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    27
<div class="title">&nbsp;</div>
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    28
<table cellspacing="0">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
    29
{entries%branchentry}
8356
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    30
</table>
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    31
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
    32
{footer}