1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 03:50:54 +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:
Chad Little 2014-06-12 11:27:30 -07:00
parent 71d9a6be07
commit 5dca350e0e

View file

@ -140,7 +140,7 @@ final class PhabricatorActionView extends AphrontView {
array(
'class' => 'phabricator-action-view-item',
),
$this->name);
array($icon, $this->name));
$item = phabricator_form(
$this->user,
@ -160,7 +160,7 @@ final class PhabricatorActionView extends AphrontView {
'sigil' => $sigils,
'meta' => $this->metadata,
),
$this->name);
array($icon, $this->name));
}
} else {
$item = phutil_tag(
@ -168,7 +168,7 @@ final class PhabricatorActionView extends AphrontView {
array(
'class' => 'phabricator-action-view-item',
),
$this->name);
array($icon, $this->name));
}
$classes = array();
@ -186,7 +186,7 @@ final class PhabricatorActionView extends AphrontView {
array(
'class' => implode(' ', $classes),
),
array($icon, $item));
$item);
}
}