]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl display progress bar only when we have information
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 9 Mar 2008 22:02:59 +0000 (22:02 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sun, 9 Mar 2008 22:02:59 +0000 (22:02 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6571 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/lang/en/tpl/client_job_status.tpl
gui/bweb/lang/es/tpl/client_job_status.tpl
gui/bweb/lang/fr/tpl/client_job_status.tpl
gui/bweb/tpl/client_job_status.tpl

index c209c994f9d3ff01563685971f63126f521eb6eb..77d478369aa5250ef468d28e1800c3304a0af09d 100644 (file)
  <tr>
   <td> <b> Bytes: </b> </td> <td> <TMPL_VAR bytes></td>
  </tr>
-
+<TMPL_IF last_jobbytes>
  <tr>
   <td> <b> Bytes done </b> </td><td> <div id='progress1'><td>
  </tr>
  <tr>
   <td> <b> Files done </b> </td><td> <div id='progress2'><td>
  </tr>
-
+</TMPL_IF>
 </table>
 <form name='form1' action='?' method='GET'>
 <button type="submit" class="bp" name='action' value='dsp_cur_job' 
index 82f0f547326d0ae594750a9ee76bee1c7337a7ad..5d4caf1dee24a7fbb607f60c4e361bbdd2619deb 100644 (file)
  <tr>
   <td> <b> Bytes: </b> </td> <td> <TMPL_VAR bytes></td>
  </tr>
+<TMPL_IF last_jobbytes>
  <tr>
   <td> <b> Bytes done </b> </td><td> <div id='progress1'><td>
  </tr>
  <tr>
   <td> <b> Files done </b> </td><td> <div id='progress2'><td>
  </tr>
-
+</TMPL_IF>
 </table>
 <form name='form1' action='?' method='GET'>
 <button type="submit" class="bp" name='action' value='dsp_cur_job' 
index 5741494aea9539f92df5009bf4d6caf6e797bae3..7973244e828537bae07fd058a8bbe427a3d3e879 100644 (file)
  <tr>
   <td> <b> Taille : </b> </td> <td> <TMPL_VAR bytes></td>
  </tr>
+<TMPL_IF last_jobbytes>
  <tr>
   <td> <b> Bytes done </b> </td><td> <div id='progress1'><td>
  </tr>
  <tr>
   <td> <b> Files done </b> </td><td> <div id='progress2'><td>
  </tr>
-
+</TMPL_IF>
 </table>
 <form name='form1' action='?' method='GET'>
 <button type="submit" class="bp" name='action' value='dsp_cur_job' 
index 6624d2051d6d95a287a48229590c7e5494ba6954..7bcdd2e1a19ee015797626fa45a91518b5077ed6 100644 (file)
  <tr>
   <td> <b> __Bytes:__ </b> </td> <td> <TMPL_VAR bytes></td>
  </tr>
+<TMPL_IF last_jobbytes>
  <tr>
   <td> <b> __Bytes done__ </b> </td><td> <div id='progress1'><td>
  </tr>
  <tr>
   <td> <b> __Files done__ </b> </td><td> <div id='progress2'><td>
  </tr>
-
+</TMPL_IF>
 </table>
 <form name='form1' action='?' method='GET'>
 <button type="submit" class="bp" name='action' value='dsp_cur_job'