lib/resque/server/views/key_sets.erb in resque-1.26.0 vs lib/resque/server/views/key_sets.erb in resque-1.27.0
- old
+ new
@@ -1,9 +1,7 @@
<% if key = params[:key] %>
- <p class='sub'>
- Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <b><%=size = redis_get_size(key) %></b>
- </p>
+ <p class='sub'><%= page_entries_info start = params[:start].to_i, start + 20, size = redis_get_size(key) %></p>
<h1>Key "<%= key %>" is a <%= resque.redis.type key %></h1>
<table>
<% for row in redis_get_value_as_array(key, start) %>
<tr>