Not sure this is obvious enough, but maybe future apps will use as well?
Details
Details
- Reviewers
epriestley - Commits
- Restricted Diffusion Commit
rP7e78a3f90609: Make Workboard icon grey if not enabled
test a project with and without a workboard
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
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. |