Fixed charts for negative hours.
[timetracker.git] / WEB-INF / templates / export.tpl
index e1cd26b..487f009 100644 (file)
@@ -2,7 +2,7 @@
 <table cellspacing="0" cellpadding="7" border="0" width="720">
   <tr>
     <td align="center">
-{if $user->isManager()}
+{if $user->can('export_data')}
       <table border="0" width="60%">
         <colgroup>
           <col width="50%">
@@ -11,7 +11,7 @@
         <tr><td colspan="2">{$i18n.form.export.hint}<br></td></tr>
         <tr><td colspan="2">&nbsp;</td></tr>
         <tr>
-          <td align='right'>{$i18n.form.export.compression}:</td>
+          <td align="right">{$i18n.form.export.compression}:</td>
           <td>{$forms.exportForm.compression.control}</td>
         </tr>
         <tr><td height="50" align="center" colspan="2">{$forms.exportForm.btn_submit.control}</td></tr>
@@ -20,4 +20,4 @@
     </td>
   </tr>
 </table>
-{$forms.exportForm.close}
\ No newline at end of file
+{$forms.exportForm.close}