joshmcarthur/Latter — pull request #38 by bretman (2012-07-29 22:31:44+00:00)
Title: Initial implementation of badges

Hi Josh,

This initial badge implementation:

- Includes manually assigned badges
- Includes badge list in main navigation, badges on main player list and badge list on profile tab

To do:
- Needs seed data to be set manually
- Currently enforces uniqueness of badges (i.e. one badge of each type per person) but we need multiple
- I'd like to add an "assigned" date to badges
- Does not yet include auto assigning of badges

Others stuff:

- Added a basic player test
- Added a helper for gravatars that includes a size attribute

Let me know what you think or would like changed.

Cheers,

Bret

p.s. If you are setting up badges, the initial two I've created are:

Silver Bull
For completing over 140 hours of project work in a month.
/badges/silverbull.png

Gold Bull
For completing over 170 hours of project work in a month.
/badges/goldbull.png

The images should already be in the repo.