X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fnotifications.tpl;h=72854190b79a1c6a479d1001789df3b8ddbb913e;hb=9e55571e568f9653c94860ab308cd781e20d13eb;hp=78bd8b19818ea35d26f1c87c15c1aff78f4f5b3d;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git
diff --git a/WEB-INF/templates/notifications.tpl b/WEB-INF/templates/notifications.tpl
index 78bd8b19..72854190 100644
--- a/WEB-INF/templates/notifications.tpl
+++ b/WEB-INF/templates/notifications.tpl
@@ -2,33 +2,35 @@
- {if $user->canManageTeam()}
-
+{if $user->can('manage_advanced_settings')}
+
-
+
+
- {if $notifications}
- {foreach $notifications as $notification}
-
- {$notification['name']|escape:'html'} |
- {$notification['cron_spec']|escape:'html'} |
- {$notification['email']|escape:'html'} |
+ {if $notifications}
+ {foreach $notifications as $notification}
+
+ {$notification['name']|escape} |
+ {$notification['cron_spec']|escape} |
+ {$notification['email']|escape} |
+ {$notification['report_condition']|escape} |
{$i18n.label.edit} |
{$i18n.label.delete} |
- {/foreach}
- {/if}
+ {/foreach}
+ {/if}
-
+
{$forms.notificationsForm.btn_add.control} |
-
- {/if}
+
+{/if}
|
-{$forms.notificationsForm.close}
\ No newline at end of file
+{$forms.notificationsForm.close}