[PATCH] some hg webdir skins have unlinked text

timeless timeless at gmail.com
Tue Jul 28 06:41:22 CDT 2009


I encountered this on hg.mozilla.org and checked with a couple of
other people, this is the obvious patch (it's the same code as used in
other templates).

-------
From: timeless at mozdev.org

provide links to the main repository page

diff --git a/templates/paper/notfound.tmpl b/templates/paper/notfound.tmpl
--- a/templates/paper/notfound.tmpl
+++ b/templates/paper/notfound.tmpl
@@ -7,6 +7,6 @@

 The specified repository "{repo|escape}" is unknown, sorry.

-Please go back to the main repository list page.
+Please go back to the <a href="{url}">main repository list page</a>.

 {footer}
diff --git a/templates/spartan/notfound.tmpl b/templates/spartan/notfound.tmpl
--- a/templates/spartan/notfound.tmpl
+++ b/templates/spartan/notfound.tmpl
@@ -7,6 +7,6 @@

 The specified repository "{repo|escape}" is unknown, sorry.

-Please go back to the main repository list page.
+Please go back to the <a href="{url}">main repository list page</a>.

 {footer}


More information about the Mercurial-devel mailing list