-{capture assign='miscInformation'}
- <dl>
- <dt>{lang}wcf.user.registrationDate{/lang}</dt>
- <dd>{time time=$user->registrationDate type='plainDate'}</dd>
- </dl>
- {if $user->getOldUsername()}
- <dl>
- <dt>{lang}wcf.user.oldUsername{/lang}</dt>
- <dd>{$user->getOldUsername()}</dd>
- </dl>
- {/if}
- {if $user->canViewOnlineStatus() && $user->getLastActivityTime()}
- <dl>
- <dt>{lang}wcf.user.usersOnline.lastActivity{/lang}</dt>
- <dd>
- {time time=$user->getLastActivityTime()}
- {if $user->getCurrentLocation()}<br>{unsafe:$user->getCurrentLocation()}{/if}
- </dd>
- </dl>
- {/if}
- {if $__wcf->session->getPermission('admin.user.canViewIpAddress') && $user->registrationIpAddress}
- <dl>
- <dt>{lang}wcf.user.registrationIpAddress{/lang}</dt>
- <dd>{unsafe:$user->getRegistrationIpAddress()|ipSearch}</dd>
- </dl>
- {/if}
-{/capture}
-
{hascontent}
{content}
{event name='beforeUserOptions'}
{/foreach}
{/foreach}
- {if $miscInformation|trim}
- <section class="section">
- <h2 class="sectionTitle">{lang}wcf.user.profile.miscInformation{/lang}</h2>
-
- {unsafe:$miscInformation}
- </section>
- {/if}
-
{event name='afterUserOptions'}
{/content}
{hascontentelse}
{event name='afterButtons'}
</div>
+
+ <div class="userProfileHeader__meta">
+ <dl class="plain userProfileHeader__meta__dataList">
+ {event name='beforeMeta'}
+
+ <dt>{icon name='calendar'} {lang}wcf.user.registrationDate{/lang}</dt>
+ <dd>{time time=$view->user->registrationDate type='plainDate'}</dd>
+ {if $view->user->getOldUsername()}
+ <dt>{icon name='scroll'} {lang}wcf.user.oldUsername{/lang}</dt>
+ <dd>{$view->user->getOldUsername()}</dd>
+ {/if}
+ {if $view->user->canViewOnlineStatus() && $view->user->getLastActivityTime()}
+ <dt>{icon name='clock'} {lang}wcf.user.usersOnline.lastActivity{/lang}</dt>
+ <dd>{time time=$view->user->getLastActivityTime()}</dd>
+ {if $user->getCurrentLocation()}
+ <dt>{icon name='location-arrow'} {lang}wcf.user.usersOnline.location{/lang}</dt>
+ <dd>{unsafe:$user->getCurrentLocation()}</dd>
+ {/if}
+ {/if}
+ {if $__wcf->session->getPermission('admin.user.canViewIpAddress') && $view->user->registrationIpAddress}
+ <dt>{icon name='network-wired'} {lang}wcf.user.registrationIpAddress{/lang}</dt>
+ <dd>{unsafe:$view->user->getRegistrationIpAddress()|ipSearch}</dd>
+ {/if}
+
+ {event name='afterMeta'}
+ </dl>
+ </div>
</div>
</header>
.userProfileHeader__button {
display: flex;
}
+
+.userProfileHeader__meta {
+ flex: 1 0 calc(100% - 138px);
+ color: var(--wcfContentDimmedText);
+ margin-left: 138px;
+
+ @include screen-sm-down {
+ margin-left: 0;
+ flex-basis: 100%;
+ }
+}
+
+.userProfileHeader__meta__dataList {
+ @include wcfFontSmall;
+
+ > dt {
+ display: inline-block;
+ vertical-align: middle;
+
+ &:after {
+ content: ":";
+ padding-left: 1px;
+ }
+ }
+
+ > dd {
+ display: inline-block;
+ vertical-align: middle;
+
+ &:not(:last-of-type) {
+ margin-right: 10px;
+ }
+ }
+
+ fa-icon {
+ vertical-align: middle;
+ }
+}
<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.title"><![CDATA[Benutzerprofil von {$user->username}]]></item>
- <item name="wcf.user.profile.miscInformation"><![CDATA[Sonstige Informationen]]></item>
</category>
<category name="wcf.user.objectWatch">
<item name="wcf.user.objectWatch.button.subscribe"><![CDATA[Abonnieren]]></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.title"><![CDATA[User profile of {$user->username}]]></item>
- <item name="wcf.user.profile.miscInformation"><![CDATA[Miscellaneous Information]]></item>
</category>
<category name="wcf.user.objectWatch">
<item name="wcf.user.objectWatch.button.subscribe"><![CDATA[Subscribe]]></item>