Fixed dropdown population script in week view.
[timetracker.git] / WEB-INF / templates / admin_teams.tpl
index c418466..bbbf284 100644 (file)
     <td class="tableHeader">{$i18n.label.edit}</td>
     <td class="tableHeader">{$i18n.label.delete}</td>
   </tr>
-  {if $teams}
-    {foreach $teams as $team}
-  <tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
+{if $teams}
+  {foreach $teams as $team}
+  <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
     <td>{$team.id}</td>
-    <td>{$team.name|escape:'html'}</td>
+    <td>{$team.name|escape}</td>
     <td nowrap>{$team.date}</td>
     <td align="center">{$team.lang}</td>
     <td><a href="admin_team_edit.php?id={$team.id}">{$i18n.label.edit}</a></td>
     <td><a href="admin_team_delete.php?id={$team.id}">{$i18n.label.delete}</a></td>
   </tr>
-    {/foreach}
-  {/if}
+  {/foreach}
+{/if}
 </table>
-    
+
 <table width="100%">
   <tr>
     <td align="center">
@@ -39,4 +39,5 @@
       </form>
     </td>
   </tr>
-</table>
\ No newline at end of file
+</table>
+      
\ No newline at end of file