mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 12:30:56 +01:00
Fix bad button construction in Owners
Summary: Fixes T7618. The "button" needs to be a PHUIButtonView later on. Test Plan: Forced condition, loaded page, saw button instead of fatal. Reviewers: chad, btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7618 Differential Revision: https://secure.phabricator.com/D12108
This commit is contained in:
parent
1e4be36484
commit
b5238dc080
1 changed files with 4 additions and 7 deletions
|
@ -157,13 +157,10 @@ final class PhabricatorOwnersDetailController
|
|||
$commit_views[] = array(
|
||||
'view' => $view,
|
||||
'header' => pht('Commits in this Package that Need Attention'),
|
||||
'button' => phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $commit_uri->alter('status', 'open'),
|
||||
'class' => 'button grey',
|
||||
),
|
||||
pht('View All Problem Commits')),
|
||||
'button' => id(new PHUIButtonView())
|
||||
->setTag('a')
|
||||
->setHref($commit_uri->alter('status', 'open'))
|
||||
->setText(pht('View All Problem Commits')),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue