mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Move icon inside link in ActionLink
Summary: Moves the icon into the link Test Plan: Tested a form (Phrequent), disabled, and regular action link Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T5331 Differential Revision: https://secure.phabricator.com/D9503
This commit is contained in:
parent
71d9a6be07
commit
5dca350e0e
1 changed files with 4 additions and 4 deletions
|
@ -140,7 +140,7 @@ final class PhabricatorActionView extends AphrontView {
|
||||||
array(
|
array(
|
||||||
'class' => 'phabricator-action-view-item',
|
'class' => 'phabricator-action-view-item',
|
||||||
),
|
),
|
||||||
$this->name);
|
array($icon, $this->name));
|
||||||
|
|
||||||
$item = phabricator_form(
|
$item = phabricator_form(
|
||||||
$this->user,
|
$this->user,
|
||||||
|
@ -160,7 +160,7 @@ final class PhabricatorActionView extends AphrontView {
|
||||||
'sigil' => $sigils,
|
'sigil' => $sigils,
|
||||||
'meta' => $this->metadata,
|
'meta' => $this->metadata,
|
||||||
),
|
),
|
||||||
$this->name);
|
array($icon, $this->name));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$item = phutil_tag(
|
$item = phutil_tag(
|
||||||
|
@ -168,7 +168,7 @@ final class PhabricatorActionView extends AphrontView {
|
||||||
array(
|
array(
|
||||||
'class' => 'phabricator-action-view-item',
|
'class' => 'phabricator-action-view-item',
|
||||||
),
|
),
|
||||||
$this->name);
|
array($icon, $this->name));
|
||||||
}
|
}
|
||||||
|
|
||||||
$classes = array();
|
$classes = array();
|
||||||
|
@ -186,7 +186,7 @@ final class PhabricatorActionView extends AphrontView {
|
||||||
array(
|
array(
|
||||||
'class' => implode(' ', $classes),
|
'class' => implode(' ', $classes),
|
||||||
),
|
),
|
||||||
array($icon, $item));
|
$item);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue