From e2be0c5dec32bb5321747f7448b8ce8f0fe608e9 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 8 Jun 2020 17:43:48 +0200 Subject: [PATCH] Fixed unnecessary large margin --- .../templates/notificationPresetSettings.tpl | 104 +++++++++--------- 1 file changed, 51 insertions(+), 53 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/notificationPresetSettings.tpl b/wcfsetup/install/files/acp/templates/notificationPresetSettings.tpl index df207db9a3..433922d6b3 100644 --- a/wcfsetup/install/files/acp/templates/notificationPresetSettings.tpl +++ b/wcfsetup/install/files/acp/templates/notificationPresetSettings.tpl @@ -33,60 +33,58 @@

{lang}wcf.global.success.edit{/lang}

{/if} -
-
-
+ +
+
+
+
+ + {lang}wcf.acp.user.notificationPresetSettings.applyChangesToExistingUsers.description{/lang} +
+
+
+ + {foreach from=$events key='eventCategory' item='eventList'} +
+

{lang}wcf.user.notification.{$eventCategory}{/lang}

+
-
-
- - {lang}wcf.acp.user.notificationPresetSettings.applyChangesToExistingUsers.description{/lang} -
-
-
- - {foreach from=$events key='eventCategory' item='eventList'} -
-

{lang}wcf.user.notification.{$eventCategory}{/lang}

- -
- {foreach from=$eventList item=event} -
{lang}wcf.user.notification.{$event->objectType}.{$event->eventName}{/lang}
-
-
    -
  1. - eventID][enabled]|empty} checked{/if}> - -
  2. -
  3. - eventID][enabled]|empty} checked{/if}> - + {foreach from=$eventList item=event} +
    {lang}wcf.user.notification.{$event->objectType}.{$event->eventName}{/lang}
    +
    +
      +
    1. + eventID][enabled]|empty} checked{/if}> + +
    2. +
    3. + eventID][enabled]|empty} 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 $event->supportsEmailNotification()} -
    7. - - eventID][mailNotificationType] !== 'none'} class="active yellow"{/if}> - - {lang}wcf.user.notification.mailNotificationType.{$settings[$event->eventID][mailNotificationType]}{/lang} - - -
    8. - {/if} -
    -
    - {/foreach} -
-
- {/foreach} - - {event name='sections'} -
+ {/if} + + + {/foreach} + + + {/foreach} + + {event name='sections'}
@@ -94,4 +92,4 @@
-{include file='footer'} \ No newline at end of file +{include file='footer'} -- 2.20.1