mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Add commit id to header in Diffusion
Summary: Also adds the commit to the header underneath the title. Ref T7628 Test Plan: Review a few Diffusion pages. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T7628 Differential Revision: https://secure.phabricator.com/D15246
This commit is contained in:
parent
12f131c064
commit
a39d0344c6
1 changed files with 2 additions and 3 deletions
|
@ -92,10 +92,9 @@ final class DiffusionCommitController extends DiffusionController {
|
|||
$engine = PhabricatorMarkupEngine::newDifferentialMarkupEngine();
|
||||
$engine->setConfig('viewer', $user);
|
||||
|
||||
require_celerity_resource('phabricator-remarkup-css');
|
||||
|
||||
$headsup_view = id(new PHUIHeaderView())
|
||||
->setHeader(nonempty($commit->getSummary(), pht('Commit Detail')));
|
||||
->setHeader(nonempty($commit->getSummary(), pht('Commit Detail')))
|
||||
->setSubheader(pht('Commit: %s', $commit->getCommitIdentifier()));
|
||||
|
||||
$headsup_actions = $this->renderHeadsupActionList($commit, $repository);
|
||||
|
||||
|
|
Loading…
Reference in a new issue