diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2015-01-23 23:14:25 +0100 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2015-01-24 20:23:18 +0100 |
commit | 88dd6fab76231a7cefbb0959a960099352d93c16 (patch) | |
tree | 3cd249a8db1c38203875b3c431b54dd6dd3f3559 | |
parent | 84d628c690357578a7a43e5485e9c4e01c5c9ea2 (diff) | |
download | git-arr-fork-88dd6fab76231a7cefbb0959a960099352d93c16.zip |
views/tree: signify root directory in page title
The page title in a root tree displays as "git >> repo >> branch >>",
which looks odd and fails to convey the fact that the page represents a
tree. Appending a '/' (for example "git >> repo >> branch >> /") makes
it more obvious that the page shows a tree, in general, and the root
tree, in particular.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
-rw-r--r-- | views/tree.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/tree.html b/views/tree.html index 68a5844..c705b18 100644 --- a/views/tree.html +++ b/views/tree.html @@ -11,7 +11,7 @@ % relroot = reltree + '../' * (len(branch.split('/')) - 1) <title>git » {{repo.name}} » - {{branch}} » {{dirname.unicode}}</title> + {{branch}} » {{dirname.unicode if dirname.unicode else '/'}}</title> <link rel="stylesheet" type="text/css" href="{{relroot}}../../../../../static/git-arr.css"/> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> |