Files
growstuff/app/views/jobs/_ideas.html.haml
T
Brenda Wallace 85b5ff9ecd Add feature flags, with job ideas as the first
Admins switch features on and off at /admin/features, kept in Flipper.
Job ideas (the page, the banners and the overlay) only show while its
flag is on. Features are off until switched on.

Closes #5050
2026-10-24 18:01:56 +13:00

7 lines
325 B
Plaintext

-# The ideas over a member's jobs: the yellow box that says there are some, if there
-# are, and the overlay it opens. Only while the job ideas feature is on.
- if Feature.enabled?(:job_ideas)
- count = JobIdeas.count_for(owner)
= render 'jobs/ideas_banner', count: count if count.positive?
= render 'jobs/ideas_modal'