X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fnotifications.tpl;h=3a62e8cb22643ab3119b4a36bdb2944307476351;hb=cdd2e058776a3d0dc9b6f32a2d5d33e4f9388491;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}
-
- {$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}](images/icon_edit.png) |
+ ![{$i18n.label.delete}](images/icon_delete.png) |
{/foreach}
{/if}
@@ -31,4 +33,4 @@
-{$forms.notificationsForm.close}
\ No newline at end of file
+{$forms.notificationsForm.close}
|