SideBySide2: Show project name before file path

On large complex projects like Android its useful to know which
project a file is in when reviewing the file.  Its common for
reviewers to span projects and many projects may have a common file
like Makefile or BUCK.

Bug: issue 148
Change-Id: I3c8e4fbc57be7de723199cf647508238f4a9feb7
This commit is contained in:
Shawn Pearce
2013-11-20 01:38:15 -08:00
parent cd2fc945ae
commit b107d3d3a4
3 changed files with 9 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ limitations under the License.
vertical-align: bottom;
}
.path {
white-space: no-wrap;
}
.navigation {
position: absolute;
@@ -48,7 +49,7 @@ limitations under the License.
title='Mark file as reviewed (Shortcut: r)'>
<ui:attribute name='title'/>
</g:CheckBox>
<span ui:field='filePath' class='{style.path}'/>
<span class='{style.path}'><span ui:field='project'/> / <span ui:field='filePath'/></span>
<span ui:field='noDiff' class='{style.nodiff}'>
<ui:msg>No Differences</ui:msg>