forked from code/member-dashboard
Members looked for a way to add usage from the dashboard and could not find it — the buy path was invisible unless someone pointed them at it. Add an always-visible green button in the "My usage" card, opening in a new tab, plus the member's real credit status and a docs link. The destination comes from CREDIT_PACK_URL on the dashboard app (same convention the portal uses), defaulting to the Open Collective contribute page — configurable in one place, not hardcoded in the template. When the member has purchased credits the hint reads "Credits never expire ($X purchased all-time)"; otherwise it keeps the static "Credit packs never expire · used after your monthly allowance". Docs link points at getting-started.md#user-content-need-more-than-the-allowance (the rendered heading id Gitea actually serves), not the bare anchor.