Removed duplicate link to avatar form
authorMarcel Werk <burntime@woltlab.com>
Thu, 28 Apr 2022 13:53:12 +0000 (15:53 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 28 Apr 2022 13:53:12 +0000 (15:53 +0200)
The avatar itself is already linked to the avatar form.

com.woltlab.wcf/templates/user.tpl

index 75af321c6dbe0e66fcd391326085b26bc887f3ef..f4012acc3c5b51722330fe23435f42c368e0d40b 100644 (file)
                                                        {content}
                                                                {event name='menuCustomization'}
                                                                
-                                                               {if $user->userID == $__wcf->user->userID}
-                                                                       <li><a href="{link controller='AvatarEdit'}{/link}">{lang}wcf.user.avatar.edit{/lang}</a></li>
-                                                               {/if}
-                                                               
                                                                {if $user->canEdit() || ($__wcf->getUser()->userID == $user->userID && $user->canEditOwnProfile())}
                                                                        <li><a href="#" class="jsButtonEditProfile">{lang}wcf.user.editProfile{/lang}</a></li>
                                                                {/if}