Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ <h4 class="t3-grid-container-title-{f:if(condition: '{gridElementsBackendLayout.
</f:then>
</f:if>
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="t3-page-columns t3-grid-table t3js-page-columns">
<f:render partial="PageLayout/Grid/Colgroup" arguments="{colCount: gridElementsBackendLayout.config.colCount}" />
<f:for each="{grid.rows}" as="row">
<tr>
<f:for each="{row.columns}" as="column">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<f:if condition="{colCount > 1}">
<colgroup>
<f:render partial="PageLayout/Grid/ColgroupCol" arguments="{colCount: colCount, iteration: 1}" />
</colgroup>
</f:if>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<col style="width: {100 / colCount}%" />
<f:if condition="{iteration} < {colCount}">
<f:variable name="updated_iteration">{iteration + 1}</f:variable>
<f:render partial="PageLayout/Grid/ColgroupCol" arguments="{colCount: colCount, iteration: updated_iteration}" />
</f:if>