1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 05:50:55 +01:00

Fix link to submodule's history

Test Plan:
https://secure.phabricator.com/diffusion/P/browse/master/externals/
Click on History of `javelin/`.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2316
This commit is contained in:
vrana 2012-04-25 10:27:56 -07:00
parent 05718706ab
commit b44f687ce2

View file

@ -88,6 +88,7 @@ final class DiffusionBrowseTableView extends DiffusionView {
$rows = array();
foreach ($this->paths as $path) {
$dir_slash = null;
$file_type = $path->getFileType();
if ($file_type == DifferentialChangeType::FILE_DIRECTORY) {
$browse_text = $path->getPath().'/';
@ -118,9 +119,8 @@ final class DiffusionBrowseTableView extends DiffusionView {
$type = 'file';
}
$browse_text = $path->getPath();
$dir_slash = null;
$browse_link = $this->linkBrowse(
$base_path.$path->getPath().$dir_slash,
$base_path.$path->getPath(),
array(
'html' => $this->renderPathIcon($type, $browse_text),
));