+++ /dev/null
-{if $unknownUser|isset}
- <p>{lang}wcf.user.unknownUser{/lang}</p>
-{else}
- <div class="box128 userProfilePreview">
- <a href="{$user->getLink()}" title="{$user->username}" class="userProfilePreviewAvatar">
- {@$user->getAvatar()->getImageTag(128)}
-
- {if $user->isOnline()}<span class="badge green badgeOnline">{lang}wcf.user.online{/lang}</span>{/if}
- </a>
-
- <div class="userInformation">
- {include file='userInformation' disableDialogLinks=true}
-
- {if MODULE_TROPHY && $__wcf->session->getPermission('user.profile.trophy.canSeeTrophies') && ($user->isAccessible('canViewTrophies') || $user->userID == $__wcf->session->userID) && $user->getSpecialTrophies()|count}
- <div class="specialTrophyUserContainer">
- <ul>
- {foreach from=$user->getSpecialTrophies() item=trophy}
- <li><a href="{@$trophy->getLink()}">{@$trophy->renderTrophy(32, true)}</a></li>
- {/foreach}
- </ul>
- </div>
- {/if}
-
- {if $user->canViewOnlineStatus() && $user->getLastActivityTime()}
- <dl class="plain inlineDataList">
- <dt>{lang}wcf.user.usersOnline.lastActivity{/lang}</dt>
- <dd>{@$user->getLastActivityTime()|time}{if $user->getCurrentLocation()}, {@$user->getCurrentLocation()}{/if}</dd>
- </dl>
- {/if}
-
- {hascontent}
- <dl class="plain inlineDataList userFields">
- {content}
- {if $__wcf->getSession()->getPermission('user.profile.canViewUserProfile') && $user->isAccessible('canViewProfile')}
- {if $user->getUserOption('occupation', true)}
- <dt>{lang}wcf.user.option.occupation{/lang}</dt>
- <dd>{$user->getUserOption('occupation', true)}</dd>
- {/if}
- {if $user->getUserOption('hobbies', true)}
- <dt>{lang}wcf.user.option.hobbies{/lang}</dt>
- <dd>{$user->getUserOption('hobbies', true)}</dd>
- {/if}
- {/if}
- {event name='userFields'}
- {/content}
- </dl>
- {/hascontent}
- </div>
-
- {if $__wcf->getUser()->userID && $__wcf->getUser()->userID != $user->userID}
- <script data-relocate="true">
- $(function() {
- WCF.Language.addObject({
- 'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
- 'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
- });
-
- new WCF.User.Action.Follow($('.userInformation'));
- });
- </script>
- {/if}
- </div>
-{/if}
}
}
-.userProfilePreview {
- position: relative;
-
- .userInformation {
- margin-bottom: 20px;
- }
-
- .buttonGroupNavigation {
- position: absolute;
- bottom: 0;
- right: 0;
- }
-}
-
-/* using `dl` + `.inlineDataList` to prevent styles applied to the
- data list provided by the `userInformation` template */
-.userProfilePreview dl.inlineDataList {
- margin-top: 10px;
-
- @include wcfFontSmall;
-}
-
/* user notifications */
.userNotificationItemList > .notificationItem {
&.notificationUnconfirmed {
}
}
-.userProfilePreviewAvatar {
- align-self: flex-start;
- display: block;
- position: relative;
-}
-
-.userProfilePreviewAvatar .badgeOnline,
.userProfileUser .contentHeaderIcon .badgeOnline {
left: 0;
pointer-events: none;
<item name="wcf.user.registrationIpAddress"><![CDATA[Registrierungs-IP-Adresse]]></item>
<item name="wcf.user.visibleLanguages"><![CDATA[Inhaltssprachen]]></item>
<item name="wcf.user.visibleLanguages.description"><![CDATA[Zeigt Inhalte der ausgewählten Sprachen an]]></item>
- <item name="wcf.user.unknownUser"><![CDATA[Dieser Benutzer existiert nicht oder wurde gelöscht.]]></item>
<item name="wcf.user.userID"><![CDATA[Benutzer-ID]]></item>
<item name="wcf.user.username"><![CDATA[Benutzername]]></item>
<item name="wcf.user.username.placeholder"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Gib{else}Geben Sie{/if} einen Benutzernamen ein]]></item>
<item name="wcf.user.registrationIpAddress"><![CDATA[Registration IP Address]]></item>
<item name="wcf.user.visibleLanguages"><![CDATA[Multilingualism]]></item>
<item name="wcf.user.visibleLanguages.description"><![CDATA[Limits visibility to content associated with the selected languages.]]></item>
- <item name="wcf.user.unknownUser"><![CDATA[This user does not exist or has been deleted.]]></item>
<item name="wcf.user.userID"><![CDATA[User ID]]></item>
<item name="wcf.user.username"><![CDATA[Username]]></item>
<item name="wcf.user.username.placeholder"><![CDATA[Enter a username]]></item>