<% unless Vanity.playground.collecting? %>
<%= I18n.t('vanity.not_collecting_data', :setting=>"Vanity.playground.collecting = true;", :file=>"config/environments/[environment].rb").html_safe %>
<% end %>
<% if experiments_persisted %>
<% if experiments.present? %>
<%= I18n.t 'vanity.experiments' %>
<%= render :file=>Vanity.template("_experiments"), :locals=>{:experiments=>experiments} %>
<% end %>
<% unless metrics.empty? %>
<%= I18n.t 'vanity.metrics' %>
<%= render :file=>Vanity.template("_metrics"), :locals=>{:metrics=>metrics, :experiments=>experiments} %>
<% end %>
<% else %>
<%= I18n.t 'vanity.experiments_out_of_sync' %>
<% end %>