Page MenuHomePhabricator

Make Workboard icon grey if not enabled
ClosedPublic

Authored by chad on Jan 13 2015, 5:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 10:08 AM
Unknown Object (File)
Tue, Apr 30, 4:14 AM
Unknown Object (File)
Thu, Apr 25, 3:34 AM
Unknown Object (File)
Thu, Apr 11, 10:49 AM
Unknown Object (File)
Apr 3 2024, 7:23 AM
Unknown Object (File)
Apr 1 2024, 3:08 PM
Unknown Object (File)
Mar 29 2024, 9:29 AM
Unknown Object (File)
Mar 9 2024, 6:23 AM
Subscribers

Details

Reviewers
epriestley
Commits
Restricted Diffusion Commit
rP7e78a3f90609: Make Workboard icon grey if not enabled
Summary

Not sure this is obvious enough, but maybe future apps will use as well?

Test Plan

test a project with and without a workboard

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Make Workboard icon grey if not enabled.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.

Doing an extra query for this isn't ideal, but there's no easy way around it and we can set some flag on the Project eventually. I think that would save a query or two elsewhere, too. I'll file a followup.

I think the grey is nice as a hint.

src/applications/project/controller/PhabricatorProjectController.php
41

This can be simplified as $this->getViewer() nowadays.

Prefer $viewer (over $user) in modern code for consistency/clarity.

This revision is now accepted and ready to land.Jan 13 2015, 5:39 PM
This revision was automatically updated to reflect the committed changes.