template toolbox update
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Aug 2014 19:54:09 +0000 (15:54 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Aug 2014 19:54:09 +0000 (15:54 -0400)
move the sections just below the category output

templates/toolbox.html

index 678d0b7..76e59cb 100644 (file)
             </div>
         {end:}
     </div>
+    {foreach:toolboxContent.secondaryParagraphs,section}
+        <div class="listing row" id="sect-{section[id]}">
+            {if:section[image]}
+                {section[image]:h}
+                <div class="small-12 medium-8 columns">
+                    <h3>{section[title]}</h3>
+                    {section[description]:h}
+                </div>
+            {else:}
+                <div class="small-12 columns">
+                    <h3>{section[title]}</h3>
+                    {section[description]:h}
+                </div>
+            {end:}
+        </div>
+        {if:section[files]}
+        <div class="row">
+            <div class="small-12 columns">
+                {section[files]:h}
+            </div>
+        </div>
+        {end:}
+        {if:section[back_to_top]}
+        <div class="row">
+            <div class="small-12 columns">
+                {section[back_to_top]:h}
+            </div>
+        </div>
+        {end:}
+    {end:}
 
     {if:toolboxContent.profile}
     <div class="row">
     </div>
     {end:}
 
-    {foreach:toolboxContent.secondaryParagraphs,section}
-    <div class="listing row" id="sect-{section[id]}">
-        {if:section[image]}
-            {section[image]:h}
-            <div class="small-12 medium-8 columns">
-                <h3>{section[title]}</h3>
-                {section[description]:h}
-            </div>
-        {else:}
-            <div class="small-12 columns">
-                <h3>{section[title]}</h3>
-                {section[description]:h}
-            </div>
-        {end:}
-
-    </div>
-        {if:section[files]}
-        <div class="row">
-            <div class="small-12 columns">
-                {section[files]:h}
-            </div>
-        </div>
-        {end:}
-        {if:section[back_to_top]}
-        <div class="row">
-            <div class="small-12 columns">
-                {section[back_to_top]:h}
-            </div>
-        </div>
-        {end:}
-    {end:}
-
     {if:toolboxContent.photos}
       {toolboxContent.photos:h}
     {end:}