Sha256: ff1fd663df7df4897d5cd12d5bf119b368b9de55aefeb65dde51d5bfe741bbde

Contents?: true

Size: 434 Bytes

Versions: 72

Compression:

Stored size: 434 Bytes

Contents

<%= content_tag_for :div, limit, :class => "#{limit.name} meter" do %>
  <span class="numbers">
    <em><%= limit.current_count(current_account) %></em><span>/<%= limit.value %></span>
  </span>
  <span class="label">
    <%= limit.name %>
  </span>
  <div class="bar">
    <span style="width: <%= current_percentage(limit, current_account) %>;">
      <%= current_percentage(limit, current_account) %>
    </span>
  </div>
<% end %>

Version data entries

72 entries across 72 versions & 2 rubygems

Version Path
saucy-0.16.1 app/views/limits/_meter.html.erb
saucy-0.16.0 app/views/limits/_meter.html.erb
saucy-0.15.2 app/views/limits/_meter.html.erb
saucy-0.15.1 app/views/limits/_meter.html.erb
saucy-0.15.0 app/views/limits/_meter.html.erb
saucy-0.14.5 app/views/limits/_meter.html.erb
saucy-0.14.3 app/views/limits/_meter.html.erb
saucy-0.10.10 app/views/limits/_meter.html.erb
saucy-0.14.2 app/views/limits/_meter.html.erb
saucy-0.14.1 app/views/limits/_meter.html.erb
saucy-0.14.0 app/views/limits/_meter.html.erb
saucy-0.13.3 app/views/limits/_meter.html.erb
saucy-0.13.2 app/views/limits/_meter.html.erb
saucy-0.10.9 app/views/limits/_meter.html.erb
saucy-0.10.8 app/views/limits/_meter.html.erb
saucy-0.13.1 app/views/limits/_meter.html.erb
saucy-0.13.0 app/views/limits/_meter.html.erb
saucy-0.12.5 app/views/limits/_meter.html.erb
saucy-0.12.4 app/views/limits/_meter.html.erb
saucy-0.12.3 app/views/limits/_meter.html.erb