Sha256: 6404e3aa1e7636c518dcab446bf0f3da052cb6853ba19f596b5406c1fe3808f0

Contents?: true

Size: 912 Bytes

Versions: 15

Compression:

Stored size: 912 Bytes

Contents

<% if @experiments.any? %>
  <p class="intro">The list below contains all the registered experiments along with the number of test participants, completed and conversion rate currently in the system.</p>

  <% @experiments.each do |experiment| %>
    <% if experiment.goals.empty? %>
      <%= erb :_experiment, :locals => {:goal => nil, :experiment => experiment} %>
    <% else %>
      <%= erb :_experiment_with_goal_header, :locals => {:experiment => experiment} %>
      <% experiment.goals.each do |g| %>
        <%= erb :_experiment, :locals => {:goal => g, :experiment => experiment} %>
      <% end %>
    <% end %>
  <% end %>
<% else %>
  <p class="intro">No experiments have started yet, you need to define them in your code and introduce them to your users.</p>
  <p class="intro">Check out the <a href='https://github.com/andrew/split#readme'>Readme</a> for more help getting started.</p>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
split-1.2.0 lib/split/dashboard/views/index.erb
split-1.1.0 lib/split/dashboard/views/index.erb
split-1.0.0 lib/split/dashboard/views/index.erb
split-0.8.0 lib/split/dashboard/views/index.erb
split-0.7.3 lib/split/dashboard/views/index.erb
split-0.7.2 lib/split/dashboard/views/index.erb
split-0.7.1 lib/split/dashboard/views/index.erb
split-0.7.0 lib/split/dashboard/views/index.erb
split-0.6.6 lib/split/dashboard/views/index.erb
split-0.6.5 lib/split/dashboard/views/index.erb
split-0.6.4 lib/split/dashboard/views/index.erb
split-0.6.3 lib/split/dashboard/views/index.erb
split-0.6.2 lib/split/dashboard/views/index.erb
split-0.6.1 lib/split/dashboard/views/index.erb
split-0.6.0 lib/split/dashboard/views/index.erb