mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-26 06:28:19 +01:00
(stable) Promote 2018 Week 38
This commit is contained in:
commit
dfcca12ea6
3 changed files with 4 additions and 12 deletions
|
@ -23,6 +23,7 @@ class PhabricatorApplicationTransactionCommentView extends AphrontView {
|
||||||
private $fullWidth;
|
private $fullWidth;
|
||||||
private $infoView;
|
private $infoView;
|
||||||
private $editEngineLock;
|
private $editEngineLock;
|
||||||
|
private $noBorder;
|
||||||
|
|
||||||
private $currentVersion;
|
private $currentVersion;
|
||||||
private $versionedDraft;
|
private $versionedDraft;
|
||||||
|
@ -243,7 +244,6 @@ class PhabricatorApplicationTransactionCommentView extends AphrontView {
|
||||||
|
|
||||||
$comment_box = id(new PHUIObjectBoxView())
|
$comment_box = id(new PHUIObjectBoxView())
|
||||||
->setFlush(true)
|
->setFlush(true)
|
||||||
->setNoBorder(true)
|
|
||||||
->addClass('phui-comment-form-view')
|
->addClass('phui-comment-form-view')
|
||||||
->addSigil('phui-comment-form')
|
->addSigil('phui-comment-form')
|
||||||
->appendChild(
|
->appendChild(
|
||||||
|
|
|
@ -25,7 +25,6 @@ final class PHUIObjectBoxView extends AphrontTagView {
|
||||||
private $showHideHref;
|
private $showHideHref;
|
||||||
private $showHideContent;
|
private $showHideContent;
|
||||||
private $showHideOpen;
|
private $showHideOpen;
|
||||||
private $noBorder;
|
|
||||||
|
|
||||||
private $propertyLists = array();
|
private $propertyLists = array();
|
||||||
|
|
||||||
|
@ -148,11 +147,6 @@ final class PHUIObjectBoxView extends AphrontTagView {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setNoBorder($no_border) {
|
|
||||||
$this->noBorder = $no_border;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setValidationException(
|
public function setValidationException(
|
||||||
PhabricatorApplicationTransactionValidationException $ex = null) {
|
PhabricatorApplicationTransactionValidationException $ex = null) {
|
||||||
$this->validationException = $ex;
|
$this->validationException = $ex;
|
||||||
|
@ -162,9 +156,7 @@ final class PHUIObjectBoxView extends AphrontTagView {
|
||||||
protected function getTagAttributes() {
|
protected function getTagAttributes() {
|
||||||
$classes = array();
|
$classes = array();
|
||||||
$classes[] = 'phui-box';
|
$classes[] = 'phui-box';
|
||||||
if (!$this->noBorder) {
|
$classes[] = 'phui-box-border';
|
||||||
$classes[] = 'phui-box-border';
|
|
||||||
}
|
|
||||||
$classes[] = 'phui-object-box';
|
$classes[] = 'phui-object-box';
|
||||||
$classes[] = 'mlt mll mlr';
|
$classes[] = 'mlt mll mlr';
|
||||||
|
|
||||||
|
|
|
@ -402,7 +402,7 @@ final class PHUITimelineEventView extends AphrontView {
|
||||||
$wedge = phutil_tag(
|
$wedge = phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
'class' => 'phui-timeline-wedge phui-timeline-border',
|
'class' => 'phui-timeline-wedge',
|
||||||
'style' => (nonempty($image_uri)) ? '' : 'display: none;',
|
'style' => (nonempty($image_uri)) ? '' : 'display: none;',
|
||||||
),
|
),
|
||||||
'');
|
'');
|
||||||
|
@ -461,7 +461,7 @@ final class PHUITimelineEventView extends AphrontView {
|
||||||
$content = phutil_tag(
|
$content = phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
'class' => 'phui-timeline-group phui-timeline-border',
|
'class' => 'phui-timeline-group',
|
||||||
),
|
),
|
||||||
$content);
|
$content);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue