Sha256: 69133b4803200e0163a00a2e2f52c181498ee088e5f645e7aee778e79e6eee0c
Contents?: true
Size: 1.84 KB
Versions: 1
Compression:
Stored size: 1.84 KB
Contents
<div id="container-main" class="mt-converts"> <div class="mountain-goat-panel centered"> <h1>Conversion Goals</h1> <div class="conversions"> <div class="explanation"> <span class="inner"> Below are a list of conversion goals. Each goal has a set of metrics designed to achieve that goal. For each metric, there is a list of variants, each coupled with its conversation rate.</span> </span> </div> <div class="converts"> <% @converts.each do |convert| %> <h2><a href="<%= mountain_goat_convert_url :id => convert.id %>"><%=h convert.name %></a></h2> <% convert.metrics.each do |metric| %> <div class="metric-category"> <span class="metric"><a href="<%= mountain_goat_metric_url :id => metric.id %>"><%= metric.title %></a></span> <% if metric.metric_variants.count == 0 %> <span class="none">No metric variants [<a href="<%= new_mountain_goat_metric_mountain_goat_metric_variant_url :mountain_goat_metric_id => metric.id %>">Add one</a>]</span> <% else %> <% metric.metric_variants.each do |mv| %> <div class="item rate"> <span class="rate-holder"> <span class="title"><%=h mv.name %></span> <span class="rates" style="width:<%= number_to_percentage(mv.conversion_rate, :precision => 0) %>"></span> </span> <span class="percent-holder"> <span class="val"><%= number_to_percentage(mv.conversion_rate, :precision => 0) %></span> (<span class="conversions"><%= mv.conversions %></span> / <span class="served"><%= mv.served %></span>) </span> </div> <% end %> <% end %> </div> <% end %> <% end %> </div> </div> <div class="new"> <a href="<%= new_mountain_goat_convert_url %>">New conversation type</a> </div> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mountain-goat-0.0.5 | lib/mountain_goat/views/mountain_goat/mountain_goat_converts/.tmp_index.html.erb.97796~ |