mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 02:32:42 +01:00
Display full path in titles of dirs in tree
Summary: It's confusing with longer trees. Test Plan: Displayed it. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3367
This commit is contained in:
parent
d9f241a9ca
commit
0c7b9e14a9
1 changed files with 3 additions and 1 deletions
|
@ -1038,9 +1038,11 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
|||
$href = null;
|
||||
if ($data) {
|
||||
$href = '#'.$data->getAnchorName();
|
||||
$title = $name;
|
||||
$icon = 'phabricator-filetree-icon-file';
|
||||
} else {
|
||||
$name .= '/';
|
||||
$title = $path->getFullPath().'/';
|
||||
$icon = 'phabricator-filetree-icon-dir';
|
||||
}
|
||||
|
||||
|
@ -1063,7 +1065,7 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
|||
array(
|
||||
'href' => $href,
|
||||
'style' => $style,
|
||||
'title' => $name,
|
||||
'title' => $title,
|
||||
'class' => 'phabricator-filetree-item',
|
||||
),
|
||||
$icon.$name_element);
|
||||
|
|
Loading…
Reference in a new issue