From 23986cb2a54016523d9ee2b204470ede36934e8a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 30 Mar 2015 14:17:03 +0200 Subject: [PATCH] Fixed rank image position --- com.woltlab.wcf/templates/authorSidebarBox.tpl | 14 ++++++-------- .../templates/dashboardBoxSignedInAs.tpl | 14 ++++++-------- .../templates/dashboardBoxStaffOnlineSidebar.tpl | 14 ++++++-------- 3 files changed, 18 insertions(+), 24 deletions(-) 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}
-- 2.20.1