| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- {namespace v=FluidTYPO3\Vhs\ViewHelpers}
- {namespace ot=Opentalent\OtTemplating\ViewHelpers}
- <f:comment><!-- Special layout for the Members page --></f:comment>
- <f:layout name="News" />
- <v:variable.set name="request" value="{ot:request.get()}" />
- <section class="t-container st-effect-3">
- <div class="wrapper">
- <f:comment><!-- Render the header defined in partial/header.html--></f:comment>
- <f:render partial="Modern/Header" arguments="{_all}" />
- <section class="page-section-ptb">
- <div class="container">
- <div class="row">
- <div class="col-sm-12 mt-30">
- <f:comment><!-- All news or details --></f:comment>
- <h2><f:translate key="news"/></h2>
- <div class="ot-news">
- <f:if condition="{request.tx_news_pi1.news}">
- <f:then>
- <f:comment><!-- a news was required, show details --></f:comment>
- <f:cObject typoscriptObjectPath="lib.tx_ottemplating.widgets.news_detail" />
- <f:link.page><f:translate key="go-back-to-news-list"/></f:link.page>
- <f:render partial="Modern/ShareBar"/>
- </f:then>
- <f:else>
- <f:comment><!-- no news was required, show list --></f:comment>
- <f:cObject typoscriptObjectPath="lib.tx_ottemplating.widgets.news_list" />
- </f:else>
- </f:if>
- </div>
- </div>
- </div>
- </div>
- </section>
- </div>
- </section>
|