]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/display_job_zoom.tpl
ebl remove Purged/Recycled status in update media
[bacula/bacula] / gui / bweb / tpl / display_job_zoom.tpl
index 078dda6f35f92e6be445087404152ea8aa1e7ae1..0c2f29487ef00fa8c817e2c11646ef8459b5fac1 100644 (file)
@@ -8,6 +8,7 @@
   <input type='hidden' name='jobid' value='<TMPL_VAR jobid>'>
   <label>
   <input type="image" name='action' value='delete' title='delete this job'
+ onclick="return confirm('Do you want to delete this job from the catalog ?');"
    src='/bweb/purge.png'> Delete
   </label>
  </form>
@@ -63,6 +64,7 @@ var header = new Array("JobId",
                       "Duration",
                        "JobFiles",
                        "JobBytes",
+                       "Errors",
                       "Pool",
                        "Volume Name",
                       "Status");
@@ -70,7 +72,7 @@ var header = new Array("JobId",
 var data = new Array();
 
 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>']; 
 
 data.push( new Array(
@@ -83,6 +85,7 @@ data.push( new Array(
 "<TMPL_VAR duration>",
 "<TMPL_VAR JobFiles>",   
 human_size(<TMPL_VAR JobBytes>),
+"<TMPL_VAR joberrors>",
 "<TMPL_VAR poolname>",
 "<TMPL_LOOP volumes><TMPL_VAR VolumeName>\n</TMPL_LOOP>",   
 img