From: Marcel Werk Date: Sun, 10 Mar 2019 16:16:39 +0000 (+0100) Subject: Improved a11y of notices X-Git-Tag: 5.2.0_Alpha_1~230 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc7cf0400ca50d8d6f560ff0b11c5b8b713ed383;p=GitHub%2FWoltLab%2FWCF.git Improved a11y of notices See #2713 --- diff --git a/com.woltlab.wcf/templates/accountManagement.tpl b/com.woltlab.wcf/templates/accountManagement.tpl index 8262f074dd..90a94e1b23 100644 --- a/com.woltlab.wcf/templates/accountManagement.tpl +++ b/com.woltlab.wcf/templates/accountManagement.tpl @@ -4,10 +4,10 @@ {include file='formError'} -

{lang}wcf.user.accountManagement.warning{/lang}

+

{lang}wcf.user.accountManagement.warning{/lang}

{if $success|isset && $success|count > 0} -
+
{foreach from=$success item=successMessage}

{lang}{@$successMessage}{/lang}

{/foreach} diff --git a/com.woltlab.wcf/templates/articleAdd.tpl b/com.woltlab.wcf/templates/articleAdd.tpl index f149a9eeeb..355012dcdc 100644 --- a/com.woltlab.wcf/templates/articleAdd.tpl +++ b/com.woltlab.wcf/templates/articleAdd.tpl @@ -86,13 +86,13 @@ {include file='formError'} {if $success|isset} -

{lang}wcf.global.success.{$action}{/lang}

+

{lang}wcf.global.success.{$action}{/lang}

{/if} {if $action == 'edit'}

isDeleted} style="display: none;"{/if}>{lang}wcf.acp.article.trash.notice{/lang}

- {if $lastVersion}

{lang}wcf.acp.article.lastVersion{/lang}

{/if} + {if $lastVersion}

{lang}wcf.acp.article.lastVersion{/lang}

{/if} {/if}
diff --git a/com.woltlab.wcf/templates/articleList.tpl b/com.woltlab.wcf/templates/articleList.tpl index 504ab36e5d..e56b92e61e 100644 --- a/com.woltlab.wcf/templates/articleList.tpl +++ b/com.woltlab.wcf/templates/articleList.tpl @@ -110,7 +110,7 @@ {include file='articleListItems'}
{else} -

{lang}wcf.global.noItems{/lang}

+

{lang}wcf.global.noItems{/lang}

{/if}
diff --git a/com.woltlab.wcf/templates/avatarEdit.tpl b/com.woltlab.wcf/templates/avatarEdit.tpl index 03193c37ad..0ebe55c328 100644 --- a/com.woltlab.wcf/templates/avatarEdit.tpl +++ b/com.woltlab.wcf/templates/avatarEdit.tpl @@ -3,13 +3,13 @@ {include file='header' __disableAds=true __sidebarLeftHasMenu=true} {if $__wcf->user->disableAvatar} -

{lang}wcf.user.avatar.error.disabled{/lang}

+ {/if} {include file='formError'} {if $success|isset} -

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

+

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

{/if} diff --git a/com.woltlab.wcf/templates/categoryArticleList.tpl b/com.woltlab.wcf/templates/categoryArticleList.tpl index b4ff17be1f..a6d7cac427 100644 --- a/com.woltlab.wcf/templates/categoryArticleList.tpl +++ b/com.woltlab.wcf/templates/categoryArticleList.tpl @@ -108,7 +108,7 @@ {include file='articleListItems'}
{else} -

{lang}wcf.global.noItems{/lang}

+

{lang}wcf.global.noItems{/lang}

{/if}