# HG changeset patch # User Florent Guillaume # Date 1205448336 -3600 # Node ID bf0dd23f55fa06ffcee77310c225c2973ee28711 # Parent cf1fa60fdaf47f8c6d28f52bc9c332827b5c101d gitweb: show branches in most of the templates diff -r cf1fa60fdaf4 -r bf0dd23f55fa templates/gitweb/changelogentry.tmpl --- a/templates/gitweb/changelogentry.tmpl Thu Mar 13 23:45:35 2008 +0100 +++ b/templates/gitweb/changelogentry.tmpl Thu Mar 13 23:45:36 2008 +0100 @@ -1,5 +1,5 @@
-#date|age# ago#desc|strip|firstline|escape# {branches%branchtag}{tags%tagtag} +#date|age# ago#desc|strip|firstline|escape# {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}
-#desc|strip|escape|firstline# {branches%branchtag}{tags%tagtag} +#desc|strip|escape|firstline# {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}
+#branch%changesetbranch# #parent%changesetparent# #child%changesetchild# diff -r cf1fa60fdaf4 -r bf0dd23f55fa templates/gitweb/fileannotate.tmpl --- a/templates/gitweb/fileannotate.tmpl Thu Mar 13 23:45:35 2008 +0100 +++ b/templates/gitweb/fileannotate.tmpl Thu Mar 13 23:45:36 2008 +0100 @@ -35,6 +35,7 @@ +#branch%filerevbranch# diff -r cf1fa60fdaf4 -r bf0dd23f55fa templates/gitweb/filediff.tmpl --- a/templates/gitweb/filediff.tmpl Thu Mar 13 23:45:35 2008 +0100 +++ b/templates/gitweb/filediff.tmpl Thu Mar 13 23:45:36 2008 +0100 @@ -28,6 +28,7 @@
{file|escape}
author#author|obfuscate#
#date|date# (#date|age# ago)
changeset {rev}{node|short}
#date|date# (#date|age# ago)
changeset {rev} #node|short#
+{branch%filerevbranch} diff -r cf1fa60fdaf4 -r bf0dd23f55fa templates/gitweb/filerevision.tmpl --- a/templates/gitweb/filerevision.tmpl Thu Mar 13 23:45:35 2008 +0100 +++ b/templates/gitweb/filerevision.tmpl Thu Mar 13 23:45:36 2008 +0100 @@ -35,6 +35,7 @@ +#branch%filerevbranch# diff -r cf1fa60fdaf4 -r bf0dd23f55fa templates/gitweb/manifest.tmpl --- a/templates/gitweb/manifest.tmpl Thu Mar 13 23:45:35 2008 +0100 +++ b/templates/gitweb/manifest.tmpl Thu Mar 13 23:45:36 2008 +0100 @@ -20,7 +20,7 @@ changeset #archives%archiveentry#
-
#path|escape# {branches%branchtag}{tags%tagtag}
+
#path|escape# {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}
changeset {rev} {node|short}
#date|date# (#date|age# ago)
changeset {rev} #node|short#
diff -r cf1fa60fdaf4 -r bf0dd23f55fa templates/gitweb/map --- a/templates/gitweb/map Thu Mar 13 23:45:35 2008 +0100 +++ b/templates/gitweb/map Thu Mar 13 23:45:36 2008 +0100 @@ -30,7 +30,9 @@ difflineat = '#linenumber# #line|escape#' diffline = '#linenumber# #line|escape#' changelogparent = '' +changesetbranch = '' changesetparent = '' +filerevbranch = '' filerevparent = '' filerename = '{file|escape}@' filelogrename = '| base' @@ -50,7 +52,8 @@ shortlog = shortlog.tmpl tagtag = '{name} ' branchtag = '{name} ' -shortlogentry = '' +inbranchtag = '{name} ' +shortlogentry = '' filelogentry = '' archiveentry = ' | #type|escape# ' indexentry = '\n' diff -r cf1fa60fdaf4 -r bf0dd23f55fa templates/static/style-gitweb.css --- a/templates/static/style-gitweb.css Thu Mar 13 23:45:35 2008 +0100 +++ b/templates/static/style-gitweb.css Thu Mar 13 23:45:36 2008 +0100 @@ -75,3 +75,7 @@ background-color: #aaffaa; border-color: #ccffcc #00cc33 #00cc33 #ccffcc; } +span.logtags span.inbranchtag { + background-color: #d5dde6; + border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4; +}
drwxr-xr-x
parent #rev#:#node|short#
branch{name}
parent {rev}{node|short}
branch{name}
parent {rev}{rename%filerename}{node|short}
#date|age# ago#author|person##desc|strip|firstline|escape# {branches%branchtag}{tags%tagtag}
#date|age# ago#author|person##desc|strip|firstline|escape# {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}
#date|age# ago#desc|strip|firstline|escape#
{name|escape}{description}{contact|obfuscate}{lastchange|age} ago