]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Add Job copy type
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 3 Jan 2009 20:34:42 +0000 (20:34 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 3 Jan 2009 20:34:42 +0000 (20:34 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8301 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/html/CT.png [new file with mode: 0644]
gui/bweb/html/bweb.js
gui/bweb/lang/en/tpl/display_form_job.tpl
gui/bweb/lang/es/tpl/display_form_job.tpl
gui/bweb/lang/fr/tpl/display_form_job.tpl
gui/bweb/tpl/display_form_job.tpl

diff --git a/gui/bweb/html/CT.png b/gui/bweb/html/CT.png
new file mode 100644 (file)
index 0000000..7417496
Binary files /dev/null and b/gui/bweb/html/CT.png differ
index 98e3cfa5ba72739990add947b60f8b5cee054243..0387ccca5ff9b048fac377d5fa84e92b800fa231 100644 (file)
@@ -320,6 +320,10 @@ function bweb_get_job_img(status, errors, type)
      } else {
         if (type == 'B' || type == 'R') { // Backup or Restore
            ret = "T.png";
+
+        } else if (type == 'C') {
+           ret = "CT.png";
+
         } else {
            ret = "AT.png";      // Admin, migration, copy etc...
         }
index da28d23fc5df0a71ec20834e09a69e79ac19b324..83376839dbca17d697d81f3383f98926605f3a57 100644 (file)
       <option id='jobtype_any' value='all type'>Any</option>
       <option id='jobtype_B' value='B'>Backup</option>
       <option id='jobtype_R' value='R'>Restore</option>
+      <option id='jobtype_m' value='m'>Migration</option>
+      <option id='jobtype_M' value='M'>Migrated job</option>
+      <option id='jobtype_C' value='C'>Job copy</option>
+      <option id='jobtype_c' value='c'>Copy</option>
       <option id='jobtype_D' value='D'>Admin</option>
     </select>
   </td>
index 5cae1c57ed7cebfe4d785b3d31bea82c6edf99ab..bbf5bab2a88103dac730ad0b3b3fde40735fb326 100644 (file)
       <option id='jobtype_any' value='all type'>Cualquiera</option>
       <option id='jobtype_B' value='B'>Backup</option>
       <option id='jobtype_R' value='R'>RecuperaciĆ³n</option>
+      <option id='jobtype_m' value='m'>Migration</option>
+      <option id='jobtype_M' value='M'>Migrated job</option>
+      <option id='jobtype_C' value='C'>Job copy</option>
+      <option id='jobtype_c' value='c'>Copy</option>
       <option id='jobtype_D' value='D'>Admin</option>
     </select>
   </td>
index 8fd880e9193f9e16b975b710a45a3e08075385dd..c3b1a0f40ac61e242a86f585b8759bc43a9d745e 100644 (file)
       <option id='jobtype_any' value='all type'>Tous</option>
       <option id='jobtype_B' value='B'>Backup</option>
       <option id='jobtype_R' value='R'>Restauration</option>
+      <option id='jobtype_m' value='m'>Migration</option>
+      <option id='jobtype_M' value='M'>Migrated job</option>
+      <option id='jobtype_C' value='C'>Job copy</option>
+      <option id='jobtype_c' value='c'>Copy</option>
       <option id='jobtype_D' value='D'>Admin</option>
     </select>
   </td>
index 65be208c15fc5177701387a1f4187f631abf2502..de50fa937509efe4a560704b75e4140515c4fc4f 100644 (file)
       <option id='jobtype_any' value='all type'>__Any__</option>
       <option id='jobtype_B' value='B'>__Backup__</option>
       <option id='jobtype_R' value='R'>__Restore__</option>
+      <option id='jobtype_m' value='m'>__Migration__</option>
+      <option id='jobtype_M' value='M'>__Migrated job__</option>
+      <option id='jobtype_C' value='C'>__Job copy__</option>
+      <option id='jobtype_c' value='c'>__Copy__</option>
       <option id='jobtype_D' value='D'>__Admin__</option>
     </select>
   </td>