]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/display_job.tpl
ebl fix
[bacula/bacula] / gui / bweb / tpl / display_job.tpl
index 49955b0d57db8f2f9419fbe37f0390d9eaa7aa8c..d89b77abdc98cf8727e649855bedfd259da5c60a 100644 (file)
@@ -32,7 +32,7 @@ a = document.createElement('A');
 a.href='?action=job_zoom;jobid=<TMPL_VAR JobId>';
 
 img = document.createElement("IMG");
-img.src="/bweb/<TMPL_VAR JobStatus>.png";
+img.src=bweb_get_job_img("<TMPL_VAR JobStatus>", <TMPL_VAR joberrors>);
 img.title=jobstatus['<TMPL_VAR JobStatus>']; 
 
 a.appendChild(img);
@@ -47,8 +47,8 @@ data.push( new Array(
 "<TMPL_VAR StartTime>",
 "<TMPL_VAR Duration>",
 "<TMPL_VAR JobFiles>",   
-"<TMPL_VAR JobBytes>",
-"<TMPL_VAR joberrors">",   
+human_size(<TMPL_VAR JobBytes>),
+"<TMPL_VAR joberrors>",   
 a
  )
 );
@@ -71,7 +71,7 @@ nrsTable.setup(
  header_color: header_color,
  page_nav: true,
  rows_per_page: rows_per_page,
-// disable_sorting: new Array(6)
+ disable_sorting: new Array(10),
  padding: 3
 }
 );