Skip to content

Commit

Permalink
web: Don't show "0 GB" in group table
Browse files Browse the repository at this point in the history
If no tmpdir was requested, show "-" in the "req.tmpdir" column instead
of "0 GB".
  • Loading branch information
donald committed Jan 29, 2020
1 parent 9d625a2 commit 0473d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/pages/mxq/mxq.in
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ sub group_table {
$q->td({class=>'number'},$job_threads),
$q->td({class=>'number'},size($job_memory*1000**2)),
$q->td({class=>'number'},days($job_time*60)),
$q->td({class=>'number'},size($job_tmpdir_size*1000*1000*1000)),
$q->td({class=>'number'}, $job_tmpdir_size ? size($job_tmpdir_size*1000*1000*1000) : '-'),
$q->td($q->a({href=>my_url('groups',{user_name=>$user_name})},$user_name)),
$q->td(group_status($group_status)),
$q->td({class=>'number'},$group_jobs),
Expand Down

0 comments on commit 0473d02

Please sign in to comment.