From 623d103ef1440bc39ca4d47fed2c241fa2a4ef90 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 21 Mar 2016 17:40:17 +0100 Subject: [PATCH] Updated view to match the frontend --- .../templates/notificationPresetSettings.tpl | 59 +++++++++++-------- 1 file changed, 34 insertions(+), 25 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/notificationPresetSettings.tpl b/wcfsetup/install/files/acp/templates/notificationPresetSettings.tpl index 7314de6117..e6cc2407db 100644 --- a/wcfsetup/install/files/acp/templates/notificationPresetSettings.tpl +++ b/wcfsetup/install/files/acp/templates/notificationPresetSettings.tpl @@ -1,20 +1,15 @@ {include file='header' pageTitle='wcf.acp.user.notificationPresetSettings'}
@@ -58,20 +53,34 @@
{foreach from=$eventList item=event} +
{lang}wcf.user.notification.{$event->objectType}.{$event->eventName}{/lang}
- - {hascontent}{content}{lang __optional=true}wcf.user.notification.{$event->objectType}.{$event->eventName}.description{/lang}{/content}{/hascontent} - {if $event->supportsEmailNotification()} - - - - {else} - {lang}wcf.user.notification.mailNotificationType.notSupported{/lang} - {/if} +
    +
  1. + eventID][enabled]|empty} checked="checked"{/if}> + +
  2. +
  3. + eventID][enabled]|empty} checked="checked"{/if}> + +
  4. + {if $event->supportsEmailNotification()} +
  5. + + eventID][mailNotificationType] !== 'none'} class="active yellow"{/if}> + + {lang}wcf.user.notification.mailNotificationType.{$settings[$event->eventID][mailNotificationType]}{/lang} + + +
  6. + {/if} +
{/foreach}
-- 2.20.1