Don't show GitLab.com Gold trial in development mode
Problem to solve
show_gold_trial
in user_callouts_helper.rb
allows for presentation of the GitLab.com Gold trial promotion banner on a local instance in development mode. This is confusing for developers; we've had 3 (and counting) reports internally about seeing the promotion.
Proposal
-
If it's a licensed EE installation that's not GitLab.com, hide the banner altogether.
-
Use an environment variable to toggle it on for development purposes. Said environment variable should be a single environment variable we will use to enter a "super development" mode.
Links / references
Edited by Luke Bennett