From: Alexander Ebert Date: Mon, 22 Aug 2022 14:23:14 +0000 (+0200) Subject: Use `shield-halved` instead of `shield` for the owner group X-Git-Tag: 6.0.0_Alpha_1~1024^2~2^2~24 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=75d2f8a4b7d03daf8a50a7eea70aceecd2cf9e84;p=GitHub%2FWoltLab%2FWCF.git Use `shield-halved` instead of `shield` for the owner group --- diff --git a/wcfsetup/install/files/acp/templates/optionFieldList.tpl b/wcfsetup/install/files/acp/templates/optionFieldList.tpl index 909ce26c11..1f40749c18 100644 --- a/wcfsetup/install/files/acp/templates/optionFieldList.tpl +++ b/wcfsetup/install/files/acp/templates/optionFieldList.tpl @@ -18,7 +18,7 @@ {/if} {if $groupIsOwner && $option->optionName|in_array:$ownerGroupPermissions} - {icon size=16 name='shield'} + {icon size=16 name='shield-halved'} {/if} diff --git a/wcfsetup/install/files/acp/templates/userAdd.tpl b/wcfsetup/install/files/acp/templates/userAdd.tpl index 8736f64b50..56aaefacf6 100644 --- a/wcfsetup/install/files/acp/templates/userAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userAdd.tpl @@ -847,7 +847,7 @@ const input = document.querySelector('input[name="groupIDs[]"][value="{@$ownerGroupID}"]'); if (input) { const icon = document.createElement("span"); - icon.innerHTML = ''; + icon.innerHTML = ''; icon.classList.add("jsTooltip"); icon.title = '{jslang}wcf.acp.group.type.owner{/jslang}'; input.parentElement.append(icon); diff --git a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl index 4239628ba5..a0fb7556b2 100644 --- a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl @@ -70,7 +70,7 @@ {/if} {if $action == 'edit' && $group->isOwner()} -

{icon size=16 name='shield' type='solid'} {lang}wcf.acp.group.type.owner.description{/lang}

+

{icon size=16 name='shield-halved' type='solid'} {lang}wcf.acp.group.type.owner.description{/lang}

{/if} {if $warningSelfEdit|isset} diff --git a/wcfsetup/install/files/acp/templates/userGroupList.tpl b/wcfsetup/install/files/acp/templates/userGroupList.tpl index 5fd08bfe1f..913f7523e6 100644 --- a/wcfsetup/install/files/acp/templates/userGroupList.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupList.tpl @@ -69,7 +69,7 @@ {/if} {if $group->isOwner()} - {icon size=16 name='shield'} + {icon size=16 name='shield-halved'} {/if} diff --git a/wcfsetup/install/files/acp/templates/userGroupOption.tpl b/wcfsetup/install/files/acp/templates/userGroupOption.tpl index d4192d7204..db68241c22 100644 --- a/wcfsetup/install/files/acp/templates/userGroupOption.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupOption.tpl @@ -129,7 +129,7 @@ {/if} {if $ownerGroupID == $group->groupID && $userGroupOption->optionName|in_array:$ownerGroupPermissions} - {icon size=16 name='shield'} + {icon size=16 name='shield-halved'} {/if}