Sha256: 9ad233e388664a3f8900802415cd4c3ce6baea3151bb78d53c916c373ad95cc5

Contents?: true

Size: 772 Bytes

Versions: 11

Compression:

Stored size: 772 Bytes

Contents

<h1>Metrics</h1>
<p class="description">
	Metrics are anything you want to track. They can be set up to monitor pretty much anything. To view the data collected, try creating a report for the metrics you wish to display.
</p>

<% if @metrics.empty? %>
	<p class="empty_list">You don't have any metrics</p>
<% else %>
	<ul id="metric_list" class="primary_list">
		<% for metric in @metrics do %>
			<li>
				<%= link_to metric do %>
					<h3><%= metric.name %></h3>
					<% if metric.last_measurement %>
						<p>last updated on : <%= metric.last_measurement.to_s(:short) %></p>
					<% else %>
						<p>Not run</p>
					<% end %>
				<% end %>
			</li>
		<% end %>
	</ul>
<% end %>

<p>
	<%= button_to "Track more stuff!", url_for(:action => :new), :method => :get %>
</p>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
i_wonder-0.1.5 app/views/i_wonder/metrics/index.html.erb
i_wonder-0.1.3 app/views/i_wonder/metrics/index.html.erb
i_wonder-0.1.2 app/views/i_wonder/metrics/index.html.erb
i_wonder-0.1.1 app/views/i_wonder/metrics/index.html.erb
i_wonder-0.0.9 app/views/i_wonder/metrics/index.html.erb
i_wonder-0.0.8 app/views/i_wonder/metrics/index.html.erb
i_wonder-0.0.7 app/views/i_wonder/metrics/index.html.erb
i_wonder-0.0.6 app/views/i_wonder/metrics/index.html.erb
i_wonder-0.0.5 app/views/i_wonder/metrics/index.html.erb
i_wonder-0.0.4 app/views/i_wonder/metrics/index.html.erb
i_wonder-0.0.3 app/views/i_wonder/metrics/index.html.erb