From: Alexander Ebert Date: Mon, 21 Mar 2016 16:40:17 +0000 (+0100) Subject: Updated view to match the frontend X-Git-Tag: 3.0.0_Beta_1~1989 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=623d103ef1440bc39ca4d47fed2c241fa2a4ef90;p=GitHub%2FWoltLab%2FWCF.git Updated view to match the frontend --- 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}