Files
growstuff/app/views/home/dashboard/_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
389 B
Plaintext

-# A yellow bar over the front page when there are job ideas to look at. It leads to
-# their jobs, with the ideas showing. Only while the job ideas feature is on.
- count = Feature.enabled?(:job_ideas) ? JobIdeas.count_for(current_member) : 0
- if count.positive?
.home-ideas
= render 'jobs/ideas_banner', count: count, href: member_jobs_path(current_member, ideas: 1), open: false