Make border conditional in crumbs
Summary: Add a setBorder call to CrumbsView to be more deliberate when a border is drawn. Could not find any CSS hacks to set it conditionally CSS. Test Plan: Browsed every application that called crumbs and make a design decision. Also fixed a few bad layouts. Reviewers: btrahan, epriestley Reviewed By: btrahan Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11533
This commit is contained in:
@@ -69,11 +69,6 @@ final class DiffusionCommitController extends DiffusionController {
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
$top_anchor = id(new PhabricatorAnchorView())
|
||||
->setAnchorName('top')
|
||||
->setNavigationMarker(true);
|
||||
|
||||
$audit_requests = $commit->getAudits();
|
||||
$this->auditAuthorityPHIDs =
|
||||
PhabricatorAuditCommentEditor::loadAuditPHIDsForUser($user);
|
||||
@@ -93,7 +88,6 @@ final class DiffusionCommitController extends DiffusionController {
|
||||
"didn't affect the tracked subdirectory ('%s'), so no ".
|
||||
"information is available.", $subpath));
|
||||
$content[] = $error_panel;
|
||||
$content[] = $top_anchor;
|
||||
} else {
|
||||
$engine = PhabricatorMarkupEngine::newDifferentialMarkupEngine();
|
||||
$engine->setConfig('viewer', $user);
|
||||
@@ -151,7 +145,6 @@ final class DiffusionCommitController extends DiffusionController {
|
||||
'class' => 'diffusion-commit-message phabricator-remarkup',
|
||||
),
|
||||
$message));
|
||||
$content[] = $top_anchor;
|
||||
|
||||
$object_box = id(new PHUIObjectBoxView())
|
||||
->setHeader($headsup_view)
|
||||
@@ -381,7 +374,6 @@ final class DiffusionCommitController extends DiffusionController {
|
||||
|
||||
if ($changesets && $show_filetree) {
|
||||
$nav = id(new DifferentialChangesetFileTreeSideNavBuilder())
|
||||
->setAnchorName('top')
|
||||
->setTitle($short_name)
|
||||
->setBaseURI(new PhutilURI('/'.$commit_id))
|
||||
->build($changesets)
|
||||
|
||||
Reference in New Issue
Block a user