</dl>
</div>
</div>
-
- <nav class="contentHeaderNavigation">
- <ul class="userProfileButtonContainer">
- {hascontent}
- <li class="dropdown">
- <a class="jsTooltip button dropdownToggle" title="{lang}wcf.user.profile.customization{/lang}"><span class="icon icon32 fa-pencil"></span> <span class="invisible">{lang}wcf.user.profile.customization{/lang}</span></a>
- <ul class="dropdownMenu userProfileButtonMenu" data-menu="customization">
- {content}
- {event name='menuCustomization'}
-
- {if $user->canEdit() || ($__wcf->getUser()->userID == $user->userID && $user->canEditOwnProfile())}
- <li><a href="#" class="jsButtonEditProfile">{lang}wcf.user.editProfile{/lang}</a></li>
- {/if}
- {/content}
- </ul>
- </li>
- {/hascontent}
-
- {event name='contentHeaderNavigation'}
- </ul>
- </nav>
+
+ {hascontent}
+ <nav class="contentHeaderNavigation">
+ <ul class="userProfileButtonContainer">
+ {content}
+ {if $user->canEdit() || ($__wcf->getUser()->userID == $user->userID && $user->canEditOwnProfile())}
+ <li><a href="#" class="jsButtonEditProfile button buttonPrimary"><span class="icon icon16 fa-pencil"></span> <span>{lang}wcf.user.editProfile{/lang}</span></a></li>
+ {/if}
+
+ {event name='contentHeaderNavigation'}
+ {/content}
+ </ul>
+ </nav>
+ {/hascontent}
</header>
{/capture}
{/capture}
{capture assign='contentInteractionDropdownItems'}
+ {* DEPRECATED *}{event name='menuCustomization'}
{event name='menuInteraction'}
{if $user->userID != $__wcf->user->userID}
/* user profile */
.userProfileCoverPhoto,
- .userProfileButtonContainer,
.containerListButtonGroup {
display: none !important;
}
margin-top: 20px;
}
- @include screen-sm-md {
- .contentHeaderNavigation {
- .button {
- .invisible {
- display: inline;
- }
- }
- }
- }
-
@include screen-sm-down {
display: flex;
flex-wrap: wrap;
flex-shrink: 0;
flex-basis: calc(100% - 58px);
}
-
- .contentHeaderNavigation {
- .userProfileButtonContainer {
- display: flex;
-
- > li {
- flex: 1 1 auto;
- margin-top: 0 !important;
-
- &:not(:last-child) {
- margin-right: 1px;
- }
-
- .invisible {
- display: none !important;
- }
- }
- }
- }
}
@include screen-md-up {
<item name="wcf.user.profile.report"><![CDATA[Benutzerprofil melden]]></item>
<item name="wcf.user.profile.protected"><![CDATA[Der Benutzer hat den Zugriff auf sein vollständiges Profil eingeschränkt.]]></item>
<item name="wcf.user.profile.management"><![CDATA[Verwaltung]]></item>
- <item name="wcf.user.profile.customization"><![CDATA[Anpassung]]></item>
<item name="wcf.user.profile.title"><![CDATA[Benutzerprofil von {$user->username}]]></item>
</category>
<category name="wcf.user.objectWatch">
<item name="wcf.user.panel.markAllAsRead" />
<item name="wcf.user.panel.markAsRead" />
<item name="wcf.user.profile.user" />
+ <item name="wcf.user.profile.customization" />
</delete>
</language>
<item name="wcf.user.profile.report"><![CDATA[Report User Profile]]></item>
<item name="wcf.user.profile.protected"><![CDATA[This member limits who may view their full profile.]]></item>
<item name="wcf.user.profile.management"><![CDATA[Management]]></item>
- <item name="wcf.user.profile.customization"><![CDATA[Customization]]></item>
<item name="wcf.user.profile.title"><![CDATA[User profile of {$user->username}]]></item>
</category>
<category name="wcf.user.objectWatch">
<item name="wcf.user.panel.markAllAsRead" />
<item name="wcf.user.panel.markAsRead" />
<item name="wcf.user.profile.user" />
+ <item name="wcf.user.profile.customization" />
</delete>
</language>