# HG changeset patch # User Alexander Plavin # Date 2013-07-13 13:44:46 # Node ID 182942b38d246a519669ab78e1a93bba2cdaf4c6 # Parent 25dae11bb04451f2b6266d8df7379924a056a868 hgweb: make stripes in directory view with CSS diff --git a/mercurial/templates/paper/manifest.tmpl b/mercurial/templates/paper/manifest.tmpl --- a/mercurial/templates/paper/manifest.tmpl +++ b/mercurial/templates/paper/manifest.tmpl @@ -45,13 +45,15 @@ files, or words in the commit messagesize permissions - + + [up] drwxr-xr-x {dentries%direntry} {fentries%fileentry} + diff --git a/mercurial/templates/paper/map b/mercurial/templates/paper/map --- a/mercurial/templates/paper/map +++ b/mercurial/templates/paper/map @@ -42,7 +42,7 @@ navgraph = '{before%navgraphentry}{after filenav = '{before%filenaventry}{after%filenaventry}' direntry = ' - + dir. {basename|escape}/ @@ -56,7 +56,7 @@ direntry = ' ' fileentry = ' - + file {basename|escape} diff --git a/tests/test-hgweb-descend-empties.t b/tests/test-hgweb-descend-empties.t --- a/tests/test-hgweb-descend-empties.t +++ b/tests/test-hgweb-descend-empties.t @@ -86,13 +86,14 @@ manifest with descending size permissions - + + [up] drwxr-xr-x - + dir. a1/ @@ -104,7 +105,7 @@ manifest with descending drwxr-xr-x - + dir. b1/ @@ -116,7 +117,7 @@ manifest with descending drwxr-xr-x - + dir. d1/ @@ -129,6 +130,7 @@ manifest with descending drwxr-xr-x + diff --git a/tests/test-hgweb-empty.t b/tests/test-hgweb-empty.t --- a/tests/test-hgweb-empty.t +++ b/tests/test-hgweb-empty.t @@ -391,13 +391,15 @@ Some tests for hgweb in an empty reposit size permissions - + + [up] drwxr-xr-x + diff --git a/tests/test-hgweb.t b/tests/test-hgweb.t --- a/tests/test-hgweb.t +++ b/tests/test-hgweb.t @@ -259,13 +259,14 @@ try bad style size permissions - + + [up] drwxr-xr-x - + dir. da/ @@ -278,7 +279,7 @@ try bad style drwxr-xr-x - + file foo @@ -287,6 +288,7 @@ try bad style 4 -rw-r--r-- +