mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
Normalize casing on property boxes
Summary: Going to render these all normal case instead of all caps, and bump up the font size. Should be more consistent. Yellow if you green anything orange. Test Plan: grep, lint Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15645
This commit is contained in:
parent
439821c7b2
commit
8aad862cd4
33 changed files with 44 additions and 44 deletions
|
@ -68,7 +68,7 @@ final class AlmanacBindingViewController
|
|||
$this->buildAlmanacPropertiesTable($binding),
|
||||
$timeline,
|
||||
))
|
||||
->addPropertySection(pht('DETAILS'), $details);
|
||||
->addPropertySection(pht('Details'), $details);
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
|
|
|
@ -158,7 +158,7 @@ abstract class AlmanacController
|
|||
->setIcon('fa-plus');
|
||||
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setHeader(pht('PROPERTIES'))
|
||||
->setHeader(pht('Properties'))
|
||||
->addActionLink($add_button);
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
|
|
|
@ -81,7 +81,7 @@ final class AlmanacServiceViewController
|
|||
$service->getServiceImplementation()->getServiceTypeShortName());
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->appendChild($properties);
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ final class PhabricatorBadgesViewController
|
|||
$timeline,
|
||||
$comment_view,
|
||||
))
|
||||
->addPropertySection(pht('DESCRIPTION'), $details);
|
||||
->addPropertySection(pht('Description'), $details);
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
|
|
|
@ -94,8 +94,8 @@ final class PhabricatorCalendarEventViewController
|
|||
$add_comment_form,
|
||||
))
|
||||
->setCurtain($curtain)
|
||||
->addPropertySection(pht('DETAILS'), $details)
|
||||
->addPropertySection(pht('DESCRIPTION'), $description);
|
||||
->addPropertySection(pht('Details'), $details)
|
||||
->addPropertySection(pht('Description'), $description);
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($page_title)
|
||||
|
|
|
@ -29,7 +29,7 @@ final class PhabricatorDaemonBulkJobViewController
|
|||
$curtain = $this->buildCurtainView($job);
|
||||
|
||||
$box = id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->addPropertyList($properties);
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ final class PhabricatorDashboardManageController
|
|||
$viewer->renderHandleList($dashboard->getPanelPHIDs()));
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->addPropertyList($properties);
|
||||
}
|
||||
|
|
|
@ -165,7 +165,7 @@ final class PhabricatorDashboardPanelViewController
|
|||
: phutil_tag('em', array(), $does_not_appear));
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->addPropertyList($properties);
|
||||
}
|
||||
|
|
|
@ -480,7 +480,7 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
|||
}
|
||||
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setHeader(pht('DETAILS'));
|
||||
->setHeader(pht('Details'));
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeader($header)
|
||||
|
|
|
@ -310,7 +310,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
|||
));
|
||||
|
||||
if ($properties) {
|
||||
$view->addPropertySection(pht('DETAILS'), $properties);
|
||||
$view->addPropertySection(pht('Details'), $properties);
|
||||
}
|
||||
|
||||
$title = array($basename, $repository->getDisplayName());
|
||||
|
@ -413,7 +413,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
|||
));
|
||||
|
||||
if ($details) {
|
||||
$view->addPropertySection(pht('DETAILS'), $details);
|
||||
$view->addPropertySection(pht('Details'), $details);
|
||||
}
|
||||
|
||||
return $this->newPage()
|
||||
|
@ -1409,7 +1409,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
|||
|
||||
$file = $this->renderFileButton($file_uri);
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setHeader(pht('DETAILS'))
|
||||
->setHeader(pht('Details'))
|
||||
->addActionLink($file);
|
||||
|
||||
$box = id(new PHUIObjectBoxView())
|
||||
|
@ -1426,7 +1426,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
|||
->appendChild($message);
|
||||
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setHeader(pht('DETAILS'));
|
||||
->setHeader(pht('Details'));
|
||||
|
||||
$box = id(new PHUIObjectBoxView())
|
||||
->setHeader($header)
|
||||
|
|
|
@ -355,8 +355,8 @@ final class DiffusionCommitController extends DiffusionController {
|
|||
$change_list,
|
||||
$add_comment,
|
||||
))
|
||||
->addPropertySection(pht('DESCRIPTION'), $detail_list)
|
||||
->addPropertySection(pht('DETAILS'), $details)
|
||||
->addPropertySection(pht('Description'), $detail_list)
|
||||
->addPropertySection(pht('Details'), $details)
|
||||
->setCurtain($curtain);
|
||||
|
||||
$page = $this->newPage()
|
||||
|
|
|
@ -288,7 +288,7 @@ final class DiffusionRepositoryController extends DiffusionController {
|
|||
$description = new PHUIRemarkupView($viewer, $description);
|
||||
$view->addTextContent($description);
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DESCRIPTION'))
|
||||
->setHeaderText(pht('Description'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->appendChild($view);
|
||||
}
|
||||
|
@ -354,7 +354,7 @@ final class DiffusionRepositoryController extends DiffusionController {
|
|||
}
|
||||
|
||||
$box = id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->appendChild($view);
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ final class FundInitiativeViewController
|
|||
$timeline,
|
||||
$add_comment,
|
||||
))
|
||||
->addPropertySection(pht('DETAILS'), $details);
|
||||
->addPropertySection(pht('Details'), $details);
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
|
|
|
@ -539,7 +539,7 @@ final class HarbormasterBuildViewController
|
|||
$this->getStatus($build));
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('PROPERTIES'))
|
||||
->setHeaderText(pht('Properties'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->appendChild($properties);
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ final class HarbormasterBuildableViewController
|
|||
: pht('Automatic Buildable'));
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('PROPERTIES'))
|
||||
->setHeaderText(pht('Properties'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->appendChild($properties);
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ final class HarbormasterStepViewController
|
|||
}
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('PROPERTIES'))
|
||||
->setHeaderText(pht('Properties'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->appendChild($view);
|
||||
}
|
||||
|
|
|
@ -54,8 +54,8 @@ final class HeraldRuleViewController extends HeraldController {
|
|||
->setHeader($header)
|
||||
->setCurtain($curtain)
|
||||
->setMainColumn($timeline)
|
||||
->addPropertySection(pht('DETAILS'), $details)
|
||||
->addPropertySection(pht('DESCRIPTION'), $description);
|
||||
->addPropertySection(pht('Details'), $details)
|
||||
->addPropertySection(pht('Description'), $description);
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
|
|
|
@ -176,7 +176,7 @@ final class LegalpadDocumentManageController extends LegalpadController {
|
|||
}
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('PROPERTIES'))
|
||||
->setHeaderText(pht('Properties'))
|
||||
->addPropertyList($properties)
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY);
|
||||
}
|
||||
|
|
|
@ -72,8 +72,8 @@ final class PhabricatorMacroViewController
|
|||
$timeline,
|
||||
$add_comment_form,
|
||||
))
|
||||
->addPropertySection(pht('MACRO'), $file)
|
||||
->addPropertySection(pht('DETAILS'), $details);
|
||||
->addPropertySection(pht('Macro'), $file)
|
||||
->addPropertySection(pht('Details'), $details);
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title_short)
|
||||
|
|
|
@ -88,8 +88,8 @@ final class ManiphestTaskDetailController extends ManiphestController {
|
|||
$timeline,
|
||||
$comment_view,
|
||||
))
|
||||
->addPropertySection(pht('DESCRIPTION'), $description)
|
||||
->addPropertySection(pht('DETAILS'), $details);
|
||||
->addPropertySection(pht('Description'), $description)
|
||||
->addPropertySection(pht('Details'), $details);
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
|
|
|
@ -63,7 +63,7 @@ final class PhabricatorApplicationDetailViewController
|
|||
$policies,
|
||||
$panels,
|
||||
))
|
||||
->addPropertySection(pht('DETAILS'), $details);
|
||||
->addPropertySection(pht('Details'), $details);
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
|
|
|
@ -40,7 +40,7 @@ final class NuanceItemManageController extends NuanceController {
|
|||
$view = id(new PHUITwoColumnView())
|
||||
->setHeader($header)
|
||||
->setCurtain($curtain)
|
||||
->addPropertySection(pht('DETAILS'), $properties)
|
||||
->addPropertySection(pht('Details'), $properties)
|
||||
->setMainColumn($timeline);
|
||||
|
||||
return $this->newPage()
|
||||
|
|
|
@ -40,8 +40,8 @@ final class NuanceSourceViewController
|
|||
$view = id(new PHUITwoColumnView())
|
||||
->setHeader($header)
|
||||
->setCurtain($curtain)
|
||||
->addPropertySection(pht('DETAILS'), $properties)
|
||||
->addPropertySection(pht('ROUTING'), $routing_list)
|
||||
->addPropertySection(pht('Details'), $properties)
|
||||
->addPropertySection(pht('Routing'), $routing_list)
|
||||
->setMainColumn($timeline);
|
||||
|
||||
return $this->newPage()
|
||||
|
|
|
@ -36,7 +36,7 @@ final class PassphraseCredentialViewController extends PassphraseController {
|
|||
->setSubheader($subheader)
|
||||
->setCurtain($curtain)
|
||||
->setMainColumn($timeline)
|
||||
->addPropertySection(pht('PROPERTIES'), $content);
|
||||
->addPropertySection(pht('Properties'), $content);
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
|
|
|
@ -57,7 +57,7 @@ final class PhabricatorPeopleProfileManageController
|
|||
$manage = id(new PHUITwoColumnView())
|
||||
->setHeader($header)
|
||||
->setCurtain($curtain)
|
||||
->addPropertySection(pht('DETAILS'), $properties)
|
||||
->addPropertySection(pht('Details'), $properties)
|
||||
->setMainColumn(
|
||||
array(
|
||||
$timeline,
|
||||
|
|
|
@ -41,7 +41,7 @@ final class PhluxViewController extends PhluxController {
|
|||
$timeline->setShouldTerminate(true);
|
||||
|
||||
$object_box = id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->addPropertyList($properties);
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ final class PhortuneMerchantViewController
|
|||
$view->addProperty(pht('Status'), $status_view);
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->appendChild($view);
|
||||
}
|
||||
|
@ -146,7 +146,7 @@ final class PhortuneMerchantViewController
|
|||
$description = new PHUIRemarkupView($viewer, $description);
|
||||
$view->addTextContent($description);
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DESCRIPTION'))
|
||||
->setHeaderText(pht('Description'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->appendChild($view);
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ final class PhortuneProductViewController extends PhortuneController {
|
|||
$product->getPriceAsCurrency()->formatForDisplay());
|
||||
|
||||
$object_box = id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->addPropertyList($properties);
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ final class PhortuneSubscriptionViewController extends PhortuneController {
|
|||
$autopay_method);
|
||||
|
||||
$details = id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->addPropertyList($properties);
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ final class PhabricatorPhurlURLViewController
|
|||
}
|
||||
|
||||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->appendChild($properties);
|
||||
}
|
||||
|
|
|
@ -119,7 +119,7 @@ final class PonderQuestionViewController extends PonderController {
|
|||
->setSubheader($subheader)
|
||||
->setCurtain($curtain)
|
||||
->setMainColumn($ponder_content)
|
||||
->addPropertySection(pht('DETAILS'), $details)
|
||||
->addPropertySection(pht('Details'), $details)
|
||||
->addClass('ponder-question-view');
|
||||
|
||||
$page_objects = array_merge(
|
||||
|
|
|
@ -48,7 +48,7 @@ final class PhabricatorProjectManageController
|
|||
$manage = id(new PHUITwoColumnView())
|
||||
->setHeader($header)
|
||||
->setCurtain($curtain)
|
||||
->addPropertySection(pht('DETAILS'), $properties)
|
||||
->addPropertySection(pht('Details'), $properties)
|
||||
->setMainColumn(
|
||||
array(
|
||||
$timeline,
|
||||
|
|
|
@ -45,7 +45,7 @@ final class PhabricatorSpacesViewController
|
|||
}
|
||||
|
||||
$box = id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('DETAILS'))
|
||||
->setHeaderText(pht('Details'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->addPropertyList($property_list);
|
||||
|
||||
|
|
Loading…
Reference in a new issue