Added import of templates.
[timetracker.git] / WEB-INF / templates / notifications.tpl
index c9f43f2..7285419 100644 (file)
@@ -2,11 +2,11 @@
 <table cellspacing="0" cellpadding="7" border="0" width="720">
   <tr>
     <td valign="top">
-{if $user->canManageTeam()}
+{if $user->can('manage_advanced_settings')}
       <table cellspacing="1" cellpadding="3" border="0" width="100%">
         <tr>
           <td class="tableHeader">{$i18n.label.thing_name}</td>
-          <td class="tableHeader">{$i18n.label.cron_schedule}</td>
+          <td class="tableHeader">{$i18n.label.schedule}</td>
           <td class="tableHeader">{$i18n.label.email}</td>
           <td class="tableHeader">{$i18n.label.condition}</td>
           <td class="tableHeader">{$i18n.label.edit}</td>
@@ -14,7 +14,7 @@
         </tr>
   {if $notifications}
     {foreach $notifications as $notification}
-        <tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
+        <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
           <td>{$notification['name']|escape}</td>
           <td>{$notification['cron_spec']|escape}</td>
           <td>{$notification['email']|escape}</td>