# HG changeset patch # User Yuya Nishihara # Date 1301842025 -32400 # Node ID fd8a6ca3a7502313bb7b172f6cb4b3764265bedb # Parent b602ac02f1baf52f368366c336ef8fed39d02931 hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75) diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/bookmarks.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mercurial/templates/gitweb/bookmarks.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -0,0 +1,32 @@ +{header} +{repo|escape}: Bookmarks + + + + + + + + + +
 
+ +{entries%bookmarkentry} +
+ +{footer} diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/branches.tmpl --- a/mercurial/templates/gitweb/branches.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/branches.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -17,6 +17,7 @@ changelog | graph | tags | +bookmarks | branches | files | help diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/changelog.tmpl --- a/mercurial/templates/gitweb/changelog.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/changelog.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -24,6 +24,7 @@ changelog | graph | tags | +bookmarks | branches | files{archives%archiveentry} | help diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/changeset.tmpl --- a/mercurial/templates/gitweb/changeset.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/changeset.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -17,6 +17,7 @@ changelog | graph | tags | +bookmarks | branches | files | changeset | diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/error.tmpl --- a/mercurial/templates/gitweb/error.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/error.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -16,6 +16,7 @@ shortlog | changelog | tags | +bookmarks | branches | files | help diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/fileannotate.tmpl --- a/mercurial/templates/gitweb/fileannotate.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/fileannotate.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -17,6 +17,7 @@ changelog | graph | tags | +bookmarks | branches | files | changeset | diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/filediff.tmpl --- a/mercurial/templates/gitweb/filediff.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/filediff.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -17,6 +17,7 @@ changelog | graph | tags | +bookmarks | branches | files | changeset | diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/filelog.tmpl --- a/mercurial/templates/gitweb/filelog.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/filelog.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -17,6 +17,7 @@ changelog | graph | tags | +bookmarks | branches | file | revisions | diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/filerevision.tmpl --- a/mercurial/templates/gitweb/filerevision.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/filerevision.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -17,6 +17,7 @@ changelog | graph | tags | +bookmarks | branches | files | changeset | diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/graph.tmpl --- a/mercurial/templates/gitweb/graph.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/graph.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -24,6 +24,7 @@ changelog | graph | tags | +bookmarks | branches | files | help diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/help.tmpl --- a/mercurial/templates/gitweb/help.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/help.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -17,6 +17,7 @@ changelog | graph | tags | +bookmarks | branches | files | help diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/helptopics.tmpl --- a/mercurial/templates/gitweb/helptopics.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/helptopics.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -17,6 +17,7 @@ changelog | graph | tags | +bookmarks | branches | files | help diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/manifest.tmpl --- a/mercurial/templates/gitweb/manifest.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/manifest.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -17,6 +17,7 @@ changelog | graph | tags | +bookmarks | branches | files | changeset {archives%archiveentry} | diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/map --- a/mercurial/templates/gitweb/map Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/map Sun Apr 03 23:47:05 2011 +0900 @@ -170,6 +170,17 @@ files ' +bookmarks = bookmarks.tmpl +bookmarkentry = ' + + {date|age} + {bookmark|escape} + + changeset | + changelog | + files + + ' branches = branches.tmpl branchentry = ' diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/search.tmpl --- a/mercurial/templates/gitweb/search.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/search.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -24,6 +24,7 @@ changelog | graph | tags | +bookmarks | branches | files{archives%archiveentry} | diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/shortlog.tmpl --- a/mercurial/templates/gitweb/shortlog.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/shortlog.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -23,6 +23,7 @@ changelog | graph | tags | +bookmarks | branches | files{archives%archiveentry} | help diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/summary.tmpl --- a/mercurial/templates/gitweb/summary.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/summary.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -24,6 +24,7 @@ changelog | graph | tags | +bookmarks | branches | files{archives%archiveentry} | help diff -r b602ac02f1ba -r fd8a6ca3a750 mercurial/templates/gitweb/tags.tmpl --- a/mercurial/templates/gitweb/tags.tmpl Sun Apr 03 23:44:28 2011 +0900 +++ b/mercurial/templates/gitweb/tags.tmpl Sun Apr 03 23:47:05 2011 +0900 @@ -17,6 +17,7 @@ changelog | graph | tags | +bookmarks | branches | files | help diff -r b602ac02f1ba -r fd8a6ca3a750 tests/test-hgweb-commands.t --- a/tests/test-hgweb-commands.t Sun Apr 03 23:44:28 2011 +0900 +++ b/tests/test-hgweb-commands.t Sun Apr 03 23:47:05 2011 +0900 @@ -640,6 +640,7 @@ changelog | graph | tags | + bookmarks | branches | files | help @@ -792,6 +793,7 @@ changelog | graph | tags | + bookmarks | branches | files | help