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>
This commit is contained in:
parent
84d628c690
commit
88dd6fab76
@ -11,7 +11,7 @@
|
|||||||
% relroot = reltree + '../' * (len(branch.split('/')) - 1)
|
% relroot = reltree + '../' * (len(branch.split('/')) - 1)
|
||||||
|
|
||||||
<title>git » {{repo.name}} »
|
<title>git » {{repo.name}} »
|
||||||
{{branch}} » {{dirname.unicode}}</title>
|
{{branch}} » {{dirname.unicode if dirname.unicode else '/'}}</title>
|
||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css"
|
||||||
href="{{relroot}}../../../../../static/git-arr.css"/>
|
href="{{relroot}}../../../../../static/git-arr.css"/>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user