Patchwork [STABLE] gitweb: add link to graph

login
register
mail settings
Submitter Gregory Szorc
Date July 26, 2018, 5:06 p.m.
Message ID <0f948d821fe7e5ed18e6.1532624816@ubuntu-vm-main>
Download mbox | patch
Permalink /patch/32947/
State Accepted
Headers show

Comments

Gregory Szorc - July 26, 2018, 5:06 p.m.
# HG changeset patch
# User Gregory Szorc <gregory.szorc@gmail.com>
# Date 1532624806 25200
#      Thu Jul 26 10:06:46 2018 -0700
# Branch stable
# Node ID 0f948d821fe7e5ed18e6106c162375a11e8b0546
# Parent  258d90f69076ba7cdc6fb8d3096674a2291a319e
gitweb: add link to graph

error.tmpl wasn't consistent with other templates in gitweb in
that it was missing a "graph" link. This commit makes it consistent.

Patch

diff --git a/mercurial/templates/gitweb/error.tmpl b/mercurial/templates/gitweb/error.tmpl
--- a/mercurial/templates/gitweb/error.tmpl
+++ b/mercurial/templates/gitweb/error.tmpl
@@ -17,6 +17,7 @@ 
 <a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> |
 <a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> |
 <a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> |
+<a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> |
 <a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> |
 <a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> |
 <a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> |