Sha256: fe2efef4bcd00e0b1a95221a616a63affab3b370942d71221d0fe977ab18f878

Contents?: true

Size: 1.32 KB

Versions: 16

Compression:

Stored size: 1.32 KB

Contents


<div id="container-main" class="mt-metric-variants">
	<div class="mountain-goat-panel cenetered">
		<ul class="nav">
			<li><a href="<%= mountain_goat_converts_url %>">Goals</a></li>
			<li><a href="<%= mountain_goat_convert_url :id => @metric_variant.metric.convert.id %>"><%=h @metric_variant.metric.convert.name %> Goal</a></li>
			<li><a href="<%= mountain_goat_metric_url :id => @metric_variant.metric.id %>"><%=h @metric_variant.metric.title %></a></li>
		</ul>
		
		<h1><%=h @metric_variant.name %></h1>
		
		<div class="metric-category">
			<div class="item rate">
				<span class="rate-holder">
					<span class="title"><a href="<%= mountain_goat_metric_variant_url @metric_variant %>"><%=h @metric_variant.name %></a></span>
					<span class="rates" style="width:<%= number_to_percentage(@metric_variant.conversion_rate, :precision => 0) %>"></span>
				</span>
				
				<span class="percent-holder">
					<span class="val"><%= number_to_percentage(@metric_variant.conversion_rate, :precision => 0) %></span>
					(<span class="conversions"><%= @metric_variant.conversions %></span> /
					<span class="served"><%= @metric_variant.served %></span>)
				</span>
			</div>
		</div>
		
		<div class="actions">
			<a class="button" href="<%= edit_mountain_goat_metric_variant_url :id => @metric_variant.id %>">Edit</a>
		</div>
	</div>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mountain-goat-0.1.1 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.1.0 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.20 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.19 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.18 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.17 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.16 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.15 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.14 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.13 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.12 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.11 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.10 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.9 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.8 lib/mountain-goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb
mountain-goat-0.0.6 lib/mountain_goat/views/mountain_goat/mountain_goat_metric_variants/show.html.erb