Remove subscribe icons
Summary: Used more logical icons for subscribe, auto, and delete instead of the mail icons. Fixes T3329 Test Plan: Tested subscribing and unsubscribing in Maniphest. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T3329 Differential Revision: https://secure.phabricator.com/D6151
This commit is contained in:
@@ -396,15 +396,15 @@ final class ManiphestTaskDetailController extends ManiphestController {
|
||||
id(new PhabricatorActionView())
|
||||
->setName(pht('Automatically Subscribed'))
|
||||
->setDisabled(true)
|
||||
->setIcon('subscribe-auto'));
|
||||
->setIcon('enable'));
|
||||
} else {
|
||||
$action = $viewer_is_cc ? 'rem' : 'add';
|
||||
$name = $viewer_is_cc ? 'Unsubscribe' : 'Subscribe';
|
||||
$icon = $viewer_is_cc ? 'subscribe-delete' : 'subscribe-add';
|
||||
$name = $viewer_is_cc ? pht('Unsubscribe') : pht('Subscribe');
|
||||
$icon = $viewer_is_cc ? 'disable' : 'check';
|
||||
|
||||
$view->addAction(
|
||||
id(new PhabricatorActionView())
|
||||
->setName(pht($name))
|
||||
->setName($name)
|
||||
->setHref("/maniphest/subscribe/{$action}/{$id}/")
|
||||
->setRenderAsForm(true)
|
||||
->setUser($viewer)
|
||||
|
||||
Reference in New Issue
Block a user