X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fnotifications.tpl;h=3a62e8cb22643ab3119b4a36bdb2944307476351;hb=13cfff28242767287408e8fd13d992bc6c6e2086;hp=8b1d95b1e4226d6b7cd47837aff6a09f2a5a03e8;hpb=a781da5661a1932521e0d1feb4be340b97edce9a;p=timetracker.git diff --git a/WEB-INF/templates/notifications.tpl b/WEB-INF/templates/notifications.tpl index 8b1d95b1..3a62e8cb 100644 --- a/WEB-INF/templates/notifications.tpl +++ b/WEB-INF/templates/notifications.tpl @@ -2,23 +2,25 @@
-{if $user->canManageTeam()} +{if $user->can('manage_advanced_settings')} - + - - + + + {if $notifications} {foreach $notifications as $notification} - - - - - - + + + + + + + {/foreach} {/if} @@ -31,4 +33,4 @@
{$i18n.label.thing_name}{$i18n.label.cron_schedule}{$i18n.label.schedule} {$i18n.label.email}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.condition}
{$notification['name']|escape:'html'}{$notification['cron_spec']|escape:'html'}{$notification['email']|escape:'html'}{$i18n.label.edit}{$i18n.label.delete}
{$notification['name']|escape}{$notification['cron_spec']|escape}{$notification['email']|escape}{$notification['report_condition']|escape}{$i18n.label.edit}{$i18n.label.delete}
-{$forms.notificationsForm.close} \ No newline at end of file +{$forms.notificationsForm.close}