mercurial/templates/gitweb/notfound.tmpl
author Steven Stallion <sstallion@gmail.com>
Tue, 19 Apr 2011 23:37:06 -0400
changeset 13964 616ad3f6fd33
parent 9999 f91e5630ce7e
child 18526 9409aeaafdc1
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:
4842
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     1
{header}
5560
e78c24011001 hgweb: make notfound templates more informative
Bryan O'Sullivan <bos@serpentine.com>
parents: 4842
diff changeset
     2
<title>Mercurial repository not found</title>
4842
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     3
</head>
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     4
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     5
<body>
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     6
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     7
<div class="page_header">
13964
616ad3f6fd33 hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com>
parents: 9999
diff changeset
     8
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> Not found: {repo|escape}
4842
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     9
</div>
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    10
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    11
<div class="page_body">
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    12
The specified repository "{repo|escape}" is unknown, sorry.
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    13
<br/>
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    14
<br/>
6222
d2353ed8b153 gitweb: use {url} as entrypoint in notfound.tmpl instead of /
Brendan Cully <brendan@kublai.com>
parents: 5820
diff changeset
    15
Please go back to the <a href="{url}">main repository list page</a>.
4842
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    16
</div>
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    17
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    18
{footer}