mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Don't link commit uri in Crumbs
Summary: These are not needed I think? and handy for cut and paste. Fixes T7628 Test Plan: cut and paste easier from commit hash. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T7628 Differential Revision: https://secure.phabricator.com/D15245
This commit is contained in:
parent
5383ea9d56
commit
f163d83935
1 changed files with 2 additions and 3 deletions
|
@ -147,7 +147,7 @@ abstract class DiffusionController extends PhabricatorController {
|
|||
$crumb_list[] = $crumb;
|
||||
|
||||
$stable_commit = $drequest->getStableCommit();
|
||||
$commit_name = $repository->formatCommitName($stable_commit);
|
||||
$commit_name = $repository->formatCommitName($stable_commit, $local = true);
|
||||
$commit_uri = $repository->getCommitURI($stable_commit);
|
||||
|
||||
if ($spec['tags']) {
|
||||
|
@ -171,8 +171,7 @@ abstract class DiffusionController extends PhabricatorController {
|
|||
|
||||
if ($spec['commit']) {
|
||||
$crumb = id(new PHUICrumbView())
|
||||
->setName($commit_name)
|
||||
->setHref($commit_uri);
|
||||
->setName($commit_name);
|
||||
$crumb_list[] = $crumb;
|
||||
return $crumb_list;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue