Added Create timesheet button on report.php.
[timetracker.git] / WEB-INF / templates / report.tpl
index 0c98951..4212431 100644 (file)
   <table>
   <tr>
     <td><input type="button" onclick="chLocation('report_send.php');" value="{$i18n.button.send_by_email}"></td>
+{if $can_create_timesheet}
+    <td><input type="button" onclick="chLocation('timesheet_add.php');" value="{$i18n.button.create_timesheet}"></td>
+{/if}
   </tr>
   </table>
   </td>