DPS: add functions to compute current and required subscriptions
Create a template tag for the badges
Use the new template tag for the DPS listing