% if @abstract_models %>
<%= t "admin.table_headers.model_name" %> | <%= t "admin.table_headers.last_created" %> | <%= t "admin.table_headers.records" %> | |
---|---|---|---|
<%= link_to abstract_model.config.label_plural, index_path %> | <% if last_created %> <%= t "admin.misc.time_ago", time: time_ago_in_words(last_created), default: "#{time_ago_in_words(last_created)} #{t('admin.misc.ago')}" %> <% end %> |
<% count = @count[abstract_model.model.name] %>
<% percent = if count.positive?
@max <= 1 ? count : ((Math.log(count + 1) * 100.0) / Math.log(@max + 1)).to_i
else
-1
end %>
progress" style="margin-bottom:0px">
|