mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Use selected button state on blame button
Summary: Visually selects the button if blame is on. Test Plan: Turn blame on and off in Diffusion on a file. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18504
This commit is contained in:
parent
3b43a70773
commit
67c658a7ed
1 changed files with 1 additions and 0 deletions
|
@ -730,6 +730,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
||||||
->setText($blame_text)
|
->setText($blame_text)
|
||||||
->setIcon($blame_icon)
|
->setIcon($blame_icon)
|
||||||
->setUser($viewer)
|
->setUser($viewer)
|
||||||
|
->setSelected(!$blame_value)
|
||||||
->setColor(PHUIButtonView::GREY);
|
->setColor(PHUIButtonView::GREY);
|
||||||
|
|
||||||
if ($viewer->isLoggedIn()) {
|
if ($viewer->isLoggedIn()) {
|
||||||
|
|
Loading…
Reference in a new issue