<main id="report"> <section class="guide"> <div class="guideContainer"> <div class="guideContainer__breadcrumbs"> <a href="{{ path('top') }}">{{'common.top' |trans|raw}}</a> <span class="guideContainerBreadcrumbs__arrow"></span> <a href="{{ path('report_index') }}">{{'report.header.text3' |trans|raw}}</a> <span class="guideContainerBreadcrumbs__arrow"></span> <div>{{ report.trans('title') }}</div> </div> </div> </section> <section class="report"> <div class="reportInfoContainer reportInfoContainer--contents"> <div class="reportInfoContainer__headline"> <div class="header"> <p class="header-tag">{{ report.Entry.categoryLocale(app.request.locale) }}</p> <span class="header-date">{{ report.entryDate|date('Y.n.d') }}</span> </div> <p class="modelplaTitle">{{ report.Entry.trans('title') }}</p> <h1 class="modelplanReport">{{ report.trans('title') }}</h1> </div> </div> <div class="reportPlanContainer reportPlanContainer--contents"> {% if report.mainImg %} <div class="img__reportPlan" style="background-image: url({{ path('report_image', {filename: report.mainImg}) }})"></div> {% endif %} <div class="reportPlanContainer__contents"> <div class="reportPlanContainerContents__box"> <div class="text"> <p> {{ report.trans('content')|nl2br }} </p> {% for child in report.children %} {% if child.trans('headline') %}<h3 class="text-header">{{ child.trans('headline') }}</h3>{% endif %} {% if child.image %}<img src="{{ path('report_image', {filename: child.image}) }}" alt="{{ report.title }}">{% endif %} {% if child.trans('content') %} <p>{{ child.trans('content')|nl2br }}</p> {% endif %} {% if child.linkUrl %} <p> <a href="{{ child.linkUrl }}" target="_blank"> {% if child.trans('link_label') %}{{ child.trans('link_label') }}{% else %}{{ child.linkUrl }}{% endif %} </a> </p> {% endif %} {% endfor %} </div> <div class="reportPlanContainerContent__box"> <a class="reportPlanContainerContents__btn" href="{% include "components/entry/_entry_list_link.html.twig" with {item: report.Entry} %}"> {{ 'report.contents.link'|trans({'%category%': report.Entry.categoryLocale(app.request.locale)}) }} </a> </div> </div> <div class="reportPlanContainerContents__writer"> <div class="reportPlanContainerContents__inner"> <h4 class="reportPlanContainerContentsWriter__header"> {{ 'report.contents.writer_info'|trans() }} </h4> <div class="reportPlanContainerContentsWriter__box"> <div class="reportPlanContainerContentsWriterBox__img" style="background-image:url({% include "components/entry/report/_reporter_image.html.twig" with {reporter: report.ReportWriter} %})"> </div> <div class="reportPlanContainerContentsWriterBox__text"> <p class="reportPlanContainerContentsWriterBoxText__name"> {% if app.request.locale == "en" and report.ReportWriter.nameEn %} {{ report.ReportWriter.nameEn }} {% else %} {{ report.ReportWriter.name }} {% endif %} </p> <p class="reportPlanContainerContentsWriterBoxText__content"> {{ report.ReportWriter.trans('intro') }} </p> </div> </div> </div> </div> {% if report.Entry.hasPublishReport(report) %} <div class="reportPlanContainerContents__other"> <h2>{{ 'modelplan.report.title'|trans({'%category%': report.Entry.categoryLocale(app.request.locale)}) }}</h2> <div class="reportListContainer"> {% for other in report.Entry.reports %} {% if other.id != report.id and other.isPublishByTimer == true %} {% include "components/entry/report/_list_card.html.twig" with {item: other} %} {% endif %} {% endfor %} </div> </div> {% endif %} </div> </div> </section></main>