mercurial/templates/gitweb/index.tmpl
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 30 Apr 2021 17:36:09 -0400
branchstable
changeset 47026 553451522113
parent 30765 eb7de21b15be
permissions -rw-r--r--
extensions: ignore exceptions from an extension's `getversion()` method This method is usually called when there's a stacktrace being generated, or with `hg version -v`. Raising another exception risks mangling the bug report info. I hit this issue when trying to add the method to the keyring extension to report the version of the extension and the underlying module, and ran into demandimport issues prior to py3.8. It seems like a wise thing to do anyway, though unfortunately there's no convenient `ui` object around to issue a warning. Use 'unknown' to signal that it tried to report a version and failed, unlike the default case of printing nothing. Differential Revision: https://phab.mercurial-scm.org/D10540
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
     1
{header}
3222
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
     2
<title>Mercurial repositories index</title>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
     3
</head>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
     4
<body>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
     5
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
     6
<div class="page_header">
13964
616ad3f6fd33 hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com>
parents: 10301
diff changeset
     7
    <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a>
18258
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 13964
diff changeset
     8
    <a href="/">Mercurial</a> {pathdef%breadcrumb}
3222
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
     9
</div>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
    10
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
    11
<table cellspacing="0">
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
    12
    <tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
    13
        <td><a href="?sort={sort_name}">Name</a></td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
    14
        <td><a href="?sort={sort_description}">Description</a></td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
    15
        <td><a href="?sort={sort_contact}">Contact</a></td>
10301
56b50194617f templates: rename `Last change' column in hgwebdir repository list.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 9999
diff changeset
    16
        <td><a href="?sort={sort_lastchange}">Last modified</a></td>
3222
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
    17
        <td>&nbsp;</td>
5269
46c5e1ee8aaa Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents: 3478
diff changeset
    18
        <td>&nbsp;</td>
5784
d17e57592909 Fixed XHTML validation errors
Kevin Christen <kevin.christen@gmail.com>
parents: 5269
diff changeset
    19
    </tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
    20
    {entries%indexentry}
3222
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
    21
</table>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
    22
<div class="page_footer">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
    23
{motd}
3222
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
    24
</div>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
    25
</body>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
    26
</html>