Fixed rank image position
authorMarcel Werk <burntime@woltlab.com>
Mon, 30 Mar 2015 12:17:03 +0000 (14:17 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 30 Mar 2015 12:17:03 +0000 (14:17 +0200)
com.woltlab.wcf/templates/authorSidebarBox.tpl
com.woltlab.wcf/templates/dashboardBoxSignedInAs.tpl
com.woltlab.wcf/templates/dashboardBoxStaffOnlineSidebar.tpl

index 3a496b0f625bed082cae38bde423ab630097027b..ed99f9e70af7ceae8801eb1cecb2b15bc2ed545b 100644 (file)
@@ -8,14 +8,12 @@
                        <div class="containerHeadline">
                                <h3>{if $userProfile->userID}<a href="{link controller='User' object=$userProfile}{/link}" rel="author">{$userProfile->username}</a>{else}{$userProfile->username}{/if}</h3>
                                {if MODULE_USER_RANK}
-                                       <p>
-                                               {if $userProfile->getUserTitle()}
-                                                       <span class="badge userTitleBadge{if $userProfile->getRank() && $userProfile->getRank()->cssClassName} {@$userProfile->getRank()->cssClassName}{/if}">{$userProfile->getUserTitle()}</span>
-                                               {/if}
-                                               {if $userProfile->getRank() && $userProfile->getRank()->rankImage}
-                                                       <span class="userRankImage">{@$userProfile->getRank()->getImage()}</span>
-                                               {/if}
-                                       </p>
+                                       {if $userProfile->getUserTitle()}
+                                               <p><span class="badge userTitleBadge{if $userProfile->getRank() && $userProfile->getRank()->cssClassName} {@$userProfile->getRank()->cssClassName}{/if}">{$userProfile->getUserTitle()}</span></p>
+                                       {/if}
+                                       {if $userProfile->getRank() && $userProfile->getRank()->rankImage}
+                                               <p><span class="userRankImage">{@$userProfile->getRank()->getImage()}</span></p>
+                                       {/if}
                                {/if}
                        </div>
                        
index ec3c70a60b163cc0ed704892afc8f6124d2e7be0..3d31dc19ec76c57b43c8e289df5cf7d829049536 100644 (file)
@@ -8,14 +8,12 @@
                        <div class="containerHeadline">
                                <h3><a href="{link controller='User' object=$__wcf->user}{/link}">{$__wcf->user->username}</a></h3>
                                {if MODULE_USER_RANK}
-                                       <p>
-                                               {if $__wcf->getUserProfileHandler()->getUserTitle()}
-                                                       <span class="badge userTitleBadge{if $__wcf->getUserProfileHandler()->getRank() && $__wcf->getUserProfileHandler()->getRank()->cssClassName} {@$__wcf->getUserProfileHandler()->getRank()->cssClassName}{/if}">{$__wcf->getUserProfileHandler()->getUserTitle()}</span>
-                                               {/if}
-                                               {if $__wcf->getUserProfileHandler()->getRank() && $__wcf->getUserProfileHandler()->getRank()->rankImage}
-                                                       <span class="userRankImage">{@$__wcf->getUserProfileHandler()->getRank()->getImage()}</span>
-                                               {/if}
-                                       </p>
+                                       {if $__wcf->getUserProfileHandler()->getUserTitle()}
+                                               <p><span class="badge userTitleBadge{if $__wcf->getUserProfileHandler()->getRank() && $__wcf->getUserProfileHandler()->getRank()->cssClassName} {@$__wcf->getUserProfileHandler()->getRank()->cssClassName}{/if}">{$__wcf->getUserProfileHandler()->getUserTitle()}</span></p>
+                                       {/if}
+                                       {if $__wcf->getUserProfileHandler()->getRank() && $__wcf->getUserProfileHandler()->getRank()->rankImage}
+                                               <p><span class="userRankImage">{@$__wcf->getUserProfileHandler()->getRank()->getImage()}</span></p>
+                                       {/if}
                                {/if}
                        </div>
                        
index 745c9be486e95264a5ddd63c037a19338e35e25b..86a76d1d45b1b69106121bc6f23f1dd55844d5bd 100644 (file)
@@ -6,14 +6,12 @@
                        <div class="sidebarBoxHeadline">
                                <h3><a href="{link controller='User' object=$userOnline}{/link}" class="userLink" data-user-id="{@$userOnline->userID}">{$userOnline->username}</a></h3>
                                {if MODULE_USER_RANK}
-                                       <small>
-                                               {if $userOnline->getUserTitle()}
-                                                       <span class="badge userTitleBadge{if $userOnline->getRank() && $userOnline->getRank()->cssClassName} {@$userOnline->getRank()->cssClassName}{/if}">{$userOnline->getUserTitle()}</span>
-                                               {/if}
-                                               {if $userOnline->getRank() && $userOnline->getRank()->rankImage}
-                                                       <span class="userRankImage">{@$userOnline->getRank()->getImage()}</span>
-                                               {/if}
-                                       </small>
+                                       {if $userOnline->getUserTitle()}
+                                               <p><span class="badge userTitleBadge{if $userOnline->getRank() && $userOnline->getRank()->cssClassName} {@$userOnline->getRank()->cssClassName}{/if}">{$userOnline->getUserTitle()}</span></p>
+                                       {/if}
+                                       {if $userOnline->getRank() && $userOnline->getRank()->rankImage}
+                                               <p><span class="userRankImage">{@$userOnline->getRank()->getImage()}</span></p>
+                                       {/if}
                                {/if}
                        </div>
                </li>