Sha256: 79b2559e5621e83ef7494e93b2d580c0c00627fe1ec4ba72f4a74c73557fe092

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

<div id="container-main" class="mt-metric-variants">
	<div class="mountain-goat-panel cenetered">
		<ul class="nav">
			<li><a href="<%= mg_converts_url %>">Goals</a></li>
			<li><a href="<%= mg_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="<%= mg_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_mg_metric_variant_url :id => @metric_variant.id %>">Edit</a>
		</div>
	</div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mountain-goat-1.0.0 lib/mountain-goat/views/mountain_goat/mg/metric_variants/show.html.erb