# HG changeset patch # User Sune Foldager # Date 2009-05-11 19:12:44 # Node ID 439663cd043a87306f37b4ed7a457cab7e1bed80 # Parent 5ba798f339c8bed7208b7cd3b51b9da26953549e gitweb: add branches page diff --git a/templates/gitweb/branches.tmpl b/templates/gitweb/branches.tmpl new file mode 100644 --- /dev/null +++ b/templates/gitweb/branches.tmpl @@ -0,0 +1,30 @@ +#header# +#repo|escape#: Branches + + + + + + + + + +
 
+ +#entries%branchentry# +
+ +#footer# diff --git a/templates/gitweb/changelog.tmpl b/templates/gitweb/changelog.tmpl --- a/templates/gitweb/changelog.tmpl +++ b/templates/gitweb/changelog.tmpl @@ -24,6 +24,7 @@ changelog | graph | tags | +branches | files#archives%archiveentry#
#changenav%naventry#
diff --git a/templates/gitweb/changeset.tmpl b/templates/gitweb/changeset.tmpl --- a/templates/gitweb/changeset.tmpl +++ b/templates/gitweb/changeset.tmpl @@ -12,7 +12,15 @@
diff --git a/templates/gitweb/fileannotate.tmpl b/templates/gitweb/fileannotate.tmpl --- a/templates/gitweb/fileannotate.tmpl +++ b/templates/gitweb/fileannotate.tmpl @@ -17,6 +17,7 @@ changelog | graph | tags | +branches | files | changeset | file | diff --git a/templates/gitweb/filediff.tmpl b/templates/gitweb/filediff.tmpl --- a/templates/gitweb/filediff.tmpl +++ b/templates/gitweb/filediff.tmpl @@ -17,6 +17,7 @@ changelog | graph | tags | +branches | files | changeset | file | diff --git a/templates/gitweb/filelog.tmpl b/templates/gitweb/filelog.tmpl --- a/templates/gitweb/filelog.tmpl +++ b/templates/gitweb/filelog.tmpl @@ -17,6 +17,7 @@ changelog | graph | tags | +branches | file | revisions | annotate | diff --git a/templates/gitweb/filerevision.tmpl b/templates/gitweb/filerevision.tmpl --- a/templates/gitweb/filerevision.tmpl +++ b/templates/gitweb/filerevision.tmpl @@ -17,6 +17,7 @@ changelog | graph | tags | +branches | files | changeset | file | diff --git a/templates/gitweb/graph.tmpl b/templates/gitweb/graph.tmpl --- a/templates/gitweb/graph.tmpl +++ b/templates/gitweb/graph.tmpl @@ -24,6 +24,7 @@ changelog | graph | tags | +branches | files
less diff --git a/templates/gitweb/manifest.tmpl b/templates/gitweb/manifest.tmpl --- a/templates/gitweb/manifest.tmpl +++ b/templates/gitweb/manifest.tmpl @@ -17,6 +17,7 @@ changelog | graph | tags | +branches | files | changeset #archives%archiveentry#
diff --git a/templates/gitweb/map b/templates/gitweb/map --- a/templates/gitweb/map +++ b/templates/gitweb/map @@ -45,7 +45,8 @@ filerevchild = 'child {rev} fileannotatechild = 'child {rev}{node|short}' tags = tags.tmpl tagentry = '#date|age# ago#tag|escape#changeset | changelog | files' -branchentry = '{date|age} ago{node|short}{branch|escape}changeset | changelog | files' +branches = branches.tmpl +branchentry = '{date|age} ago{node|short}{branch|escape}changeset | changelog | files' diffblock = '
#lines#
' filediffparent = 'parent {rev}{node|short}' filelogparent = 'parent #rev#: #node|short#' diff --git a/templates/gitweb/search.tmpl b/templates/gitweb/search.tmpl --- a/templates/gitweb/search.tmpl +++ b/templates/gitweb/search.tmpl @@ -24,6 +24,7 @@ changelog | graph | tags | +branches | files#archives%archiveentry#
diff --git a/templates/gitweb/shortlog.tmpl b/templates/gitweb/shortlog.tmpl --- a/templates/gitweb/shortlog.tmpl +++ b/templates/gitweb/shortlog.tmpl @@ -23,6 +23,7 @@ shortlog | changelog | graph | tags | +branches | files#archives%archiveentry#
#changenav%navshortentry#
diff --git a/templates/gitweb/summary.tmpl b/templates/gitweb/summary.tmpl --- a/templates/gitweb/summary.tmpl +++ b/templates/gitweb/summary.tmpl @@ -24,6 +24,7 @@ summary | changelog | graph | tags | +branches | files#archives%archiveentry#
diff --git a/templates/gitweb/tags.tmpl b/templates/gitweb/tags.tmpl --- a/templates/gitweb/tags.tmpl +++ b/templates/gitweb/tags.tmpl @@ -17,6 +17,7 @@ changelog | graph | tags | +branches | files