From: Marcel Werk Date: Mon, 30 Mar 2015 12:17:03 +0000 (+0200) Subject: Fixed rank image position X-Git-Tag: 2.1.3~47 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=23986cb2a54016523d9ee2b204470ede36934e8a;p=GitHub%2FWoltLab%2FWCF.git Fixed rank image position --- diff --git a/com.woltlab.wcf/templates/authorSidebarBox.tpl b/com.woltlab.wcf/templates/authorSidebarBox.tpl index 3a496b0f62..ed99f9e70a 100644 --- a/com.woltlab.wcf/templates/authorSidebarBox.tpl +++ b/com.woltlab.wcf/templates/authorSidebarBox.tpl @@ -8,14 +8,12 @@

{if $userProfile->userID}{else}{$userProfile->username}{/if}

{if MODULE_USER_RANK} -

- {if $userProfile->getUserTitle()} - {$userProfile->getUserTitle()} - {/if} - {if $userProfile->getRank() && $userProfile->getRank()->rankImage} - {@$userProfile->getRank()->getImage()} - {/if} -

+ {if $userProfile->getUserTitle()} +

{$userProfile->getUserTitle()}

+ {/if} + {if $userProfile->getRank() && $userProfile->getRank()->rankImage} +

{@$userProfile->getRank()->getImage()}

+ {/if} {/if}
diff --git a/com.woltlab.wcf/templates/dashboardBoxSignedInAs.tpl b/com.woltlab.wcf/templates/dashboardBoxSignedInAs.tpl index ec3c70a60b..3d31dc19ec 100644 --- a/com.woltlab.wcf/templates/dashboardBoxSignedInAs.tpl +++ b/com.woltlab.wcf/templates/dashboardBoxSignedInAs.tpl @@ -8,14 +8,12 @@

{$__wcf->user->username}

{if MODULE_USER_RANK} -

- {if $__wcf->getUserProfileHandler()->getUserTitle()} - {$__wcf->getUserProfileHandler()->getUserTitle()} - {/if} - {if $__wcf->getUserProfileHandler()->getRank() && $__wcf->getUserProfileHandler()->getRank()->rankImage} - {@$__wcf->getUserProfileHandler()->getRank()->getImage()} - {/if} -

+ {if $__wcf->getUserProfileHandler()->getUserTitle()} +

{$__wcf->getUserProfileHandler()->getUserTitle()}

+ {/if} + {if $__wcf->getUserProfileHandler()->getRank() && $__wcf->getUserProfileHandler()->getRank()->rankImage} +

{@$__wcf->getUserProfileHandler()->getRank()->getImage()}

+ {/if} {/if}
diff --git a/com.woltlab.wcf/templates/dashboardBoxStaffOnlineSidebar.tpl b/com.woltlab.wcf/templates/dashboardBoxStaffOnlineSidebar.tpl index 745c9be486..86a76d1d45 100644 --- a/com.woltlab.wcf/templates/dashboardBoxStaffOnlineSidebar.tpl +++ b/com.woltlab.wcf/templates/dashboardBoxStaffOnlineSidebar.tpl @@ -6,14 +6,12 @@

{$userOnline->username}

{if MODULE_USER_RANK} - - {if $userOnline->getUserTitle()} - {$userOnline->getUserTitle()} - {/if} - {if $userOnline->getRank() && $userOnline->getRank()->rankImage} - {@$userOnline->getRank()->getImage()} - {/if} - + {if $userOnline->getUserTitle()} +

{$userOnline->getUserTitle()}

+ {/if} + {if $userOnline->getRank() && $userOnline->getRank()->rankImage} +

{@$userOnline->getRank()->getImage()}

+ {/if} {/if}