-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISSUE-293: Add template for Content row paragraph type Columns layout…
… variant.
- Loading branch information
Showing
3 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
templates/paragraphs/paragraph--oe-content-row--variant-columns_layout.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{# | ||
/** | ||
* @file | ||
* Theme override to display the "content row" type paragraph in the "columns layout" variant. | ||
* | ||
* @see ./modules/contrib/paragraphs/templates/paragraph.html.twig | ||
*/ | ||
#} | ||
{% for row in rows %} | ||
<div class="ecl-row"> | ||
{% for column in row.columns %} | ||
<div class="ecl-col-md-{{ column.width }}"> | ||
{{ column.content }} | ||
</div> | ||
{% endfor %} | ||
</div> | ||
{% endfor %} |