forked from ezsystems/ezplatform-demo
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEMO-151: Implement About Full View (ezsystems#79)
- Loading branch information
1 parent
0dea69d
commit c6e7a6f
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
app/Resources/views/themes/tastefulplanet/full/about.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,32 @@ | ||
{% extends "@ezdesign/pagelayout.html.twig" %} | ||
|
||
{% block page_head %} | ||
{% set title = ez_content_name(content) %} | ||
{{ parent() }} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<section class="content-type-article full-view"> | ||
<div class="banner-image"> | ||
<div class="thumbnail text-center"> | ||
{{ ez_render_field(content, 'image', { | ||
'parameters': {'alias': 'original', 'class': 'img-fluid w-100'} | ||
}) }} | ||
<div class="title"> | ||
<h1 class="field-title">{{ ez_render_field(content, 'title') }}</h1> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="container"> | ||
<div class="row justify-content-between"> | ||
<div class="col-md-5"> | ||
{{ ez_render_field(content, 'left_column') }} | ||
</div> | ||
<div class="col-md-5"> | ||
{{ ez_render_field(content, 'right_column') }} | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
{% endblock %} |
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