Small style optimizations
authorMarcel Werk <burntime@woltlab.com>
Mon, 23 Oct 2017 09:53:07 +0000 (11:53 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 23 Oct 2017 09:53:07 +0000 (11:53 +0200)
com.woltlab.wcf/templates/article.tpl

index b64ceb5e0d79243a609b944895f9ce227830b047..f084874247495853e77734601f4466b553ac521a 100644 (file)
                </div>
        </div>
        
-       {if ENABLE_SHARE_BUTTONS}
-               <section class="section jsOnly">
-                       <h2 class="sectionTitle">{lang}wcf.message.share{/lang}</h2>
-                       
-                       {include file='shareButtons'}
-               </section>
-       {/if}
-       
        {if ARTICLE_SHOW_ABOUT_AUTHOR && $article->getUserProfile()->aboutMe}
                <div class="section articleAboutAuthor">
                        <h2 class="sectionTitle">{lang}wcf.article.aboutAuthor{/lang}</h2>
        {/if}
 </div>
 
+{if ENABLE_SHARE_BUTTONS}
+       {capture assign='footerBoxes'}
+               <section class="box boxFullWidth jsOnly">
+                       <h2 class="boxTitle">{lang}wcf.message.share{/lang}</h2>
+                       
+                       <div class="boxContent">
+                               {include file='shareButtons'}
+                       </div>
+               </section>
+       {/capture}
+{/if}
+
 <footer class="contentFooter">
        {hascontent}
                <nav class="contentFooterNavigation">