Fixed approve_all_reports right assignment and check.
[timetracker.git] / WEB-INF / templates / charts.tpl
index 2223871..8e05e19 100644 (file)
@@ -2,8 +2,8 @@
 {$forms.chartForm.open}
 <table border="0" width="720">
   <tr>
-{if $on_behalf_control}
-      <td width="50%" align="center">{$i18n.label.user}: {$forms.chartForm.onBehalfUser.control}</td>
+{if $user_dropdown}
+      <td width="50%" align="center">{$i18n.label.user}: {$forms.chartForm.user.control}</td>
   {if $chart_selector}
       <td width="50%" align="left">{$i18n.form.charts.chart}: {$forms.chartForm.type.control}</td>
   {/if}
 </table>
 <table border="0" width="720">
   <tr>
-    <td width="50%" align="center"><img src="{$img_file_name}" border="0"/></td>
+    <td width="50%" align="center"><img src="{$img_file_name}" height="300" width="300" border="0"/></td>
     <td>
       <table border="0" cellspacing="3">
       {section name=i loop=$totals}
       {if $smarty.section.i.index <= 12}
-        <tr><td style="width:7px;height:1em;background-color:{$totals[i].color_html};"></td><td>{$totals[i].name|escape:'html'}</td></tr>
+        <tr><td style="width:7px;height:1em;background-color:{$totals[i].color_html};"></td><td>{$totals[i].name|escape}</td></tr>
       {/if}
       {/section}
       </table>
@@ -35,5 +35,3 @@
   <tr><td valign="top">{$forms.chartForm.date.control}</td></tr>
 </table>
 {$forms.chartForm.close}
-
-