Shows badges on profile if you have them. Check if app is installed, show badges.
Details
Details
- Reviewers
epriestley btrahan lpriestley - Commits
- Restricted Diffusion Commit
rPded654b8e2d5: Badges ... on your profile
Gave myself a liberal selection of badge. Gave notchad one badge. Gave chadtwo absolutely nothing.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/applications/people/controller/PhabricatorPeopleProfileController.php | ||
---|---|---|
209 | This seems strange, I can make badges to all users and on public pages they are empty. What's correct here? |
Comment Actions
Ah, right. Yeah, I think just always giving them getMostOpenPolicy() is probably correct. I don't think we should have secret badges or whatever.
src/applications/people/controller/PhabricatorPeopleProfileController.php | ||
---|---|---|
207–210 | You can just omit this, CAN_VIEW is the default. | |
226–228 | These should go left one indent level I think? |