File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
examples/official-site/sqlpage/migrations Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -908,6 +908,12 @@ Numbers can be displayed
908908 "feature": "Performance",
909909 "description": "Designed for performance, with a focus on efficient data processing and minimal overhead.",
910910 "benefits": "Quickly processes large datasets, handles high volumes of requests, and minimizes server load."
911+ },
912+ {
913+ "_sqlpage_footer": true,
914+ "feature": "Summary",
915+ "description": "Summarizes the features of the product.",
916+ "benefits": "Provides a quick overview of the product' ' s features and benefits."
911917 }
912918]' )
913919 ),
Original file line number Diff line number Diff line change 5656 </thead >
5757 <tbody class =" table-tbody list" >{{ #delay }} </tbody >{{ /delay }}
5858 {{ ~/if ~}}
59-
60- {{! If this data row should go into the footer, close the <tbody>, open the <tfoot> }}
61- {{ #if _sqlpage_footer }} </tbody ><tfoot > {{ /if }}
59+ {{!~ If this data row should go into the footer, close the <tbody>, open the <tfoot> ~}}
60+ {{ ~#if _sqlpage_footer ~}} </tbody ><tfoot > {{ /if ~}}
6261 <tr class =" {{ _sqlpage_css_class }} {{ #if _sqlpage_color }} bg-{{ _sqlpage_color }} -lt{{ /if }} " {{ #if _sqlpage_id }} id =" {{ _sqlpage_id }} " {{ /if }} >
6362 {{ ~#each this ~}}
6463 {{ ~#if (not (starts_with @key ' _sqlpage_' ))~}}
7978 {{ /if ~}}
8079 {{ ~/each ~}}
8180 </tr >
82-
83- {{! After this <tr> has been rendered, if this was a footer, we need to reopen a new <tbody> }}
84- {{! No need for another delayed closure since the previous one still applies }}
85- {{ #if _sqlpage_footer }} </tfoot ><tbody class =" table-tbody list" > {{ /if }}
81+ {{!~
82+ After this <tr> has been rendered, if this was a footer, we need to reopen a new <tbody>
83+ No need for another delayed closure since the previous one still applies
84+ ~}}
85+ {{ ~#if _sqlpage_footer }} </tfoot ><tbody class =" table-tbody list" > {{ /if ~}}
8686 {{ /each_row }}
8787 {{ flush_delayed }}
8888
You can’t perform that action at this time.
0 commit comments