Skip to content

Commit

Permalink
Revert "show a tooltip for very large numbers in the admin ui (closes #…
Browse files Browse the repository at this point in the history
…72)"

This reverts commit 4d685f2.
  • Loading branch information
kraih committed Feb 3, 2019
1 parent 4d685f2 commit 12b598e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

9.10 2019-02-04
- Improved admin ui with tooltips for very large numbers.

9.09 2019-02-03
- Changed result_p method in Minion to pass along the whole job info hash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@
$('.minion-stats-uptime').text(Math.round(data.uptime / 86400));
$('.minion-stats-delayed-jobs').text(data.delayed_jobs);
var proc = data.enqueued_jobs - (data.inactive_jobs + data.active_jobs);
if (proc >= 1000000) {
var short = Math.floor(proc / 1000000) + 'M';
$('.minion-stats-processed-jobs').text(short);
$('#processed-jobs').tooltip({title: proc});
}
else {
$('.minion-stats-processed-jobs').text(proc);
}
$('.minion-stats-processed-jobs').text(proc);
backlog = data.active_jobs + (data.inactive_jobs - data.delayed_jobs);
}
function updateBacklogChart() {
Expand Down Expand Up @@ -111,8 +104,7 @@
</div>

<div class="col-md-2">
<div class="stats" id="processed-jobs" data-toggle="tooltip"
data-placement="bottom">
<div class="stats">
<div class="minion-stats-processed-jobs stats-body">0</div>
<div class="stats-description">Processed Jobs</div>
</div>
Expand Down

0 comments on commit 12b598e

Please sign in to comment.