templates/web/default/news.html.twig line 100

Open in your IDE?
  1. {% extends 'web/base.html.twig' %}
  2. {% block title %}{{ 'news.title'|trans }}{% endblock %}
  3. {% block keywords %}{{ 'news.keywords' | trans }}{% endblock %}
  4. {% block description %}{{ 'news.metaDescription' | trans }}{% endblock %}
  5. {% trans_default_domain 'web' %}
  6. {% block body %}
  7. {{ include('web/core/header.html.twig') }}
  8. <div class="qodef-content news">
  9. <div class="qodef-content-inner">
  10. <div class="qodef-full-width">
  11. <div class="qodef-full-width-inner">
  12. <div class="qodef-grid-row">
  13. <div class="qodef-page-content-holder qodef-grid-col-12">
  14. <div class="qodef-row-grid-section-wrapper">
  15. <div class="qodef-row-grid-section">
  16. <div class="vc_row wpb_row vc_row-fluid">
  17. <div class="wpb_column vc_column_container vc_col-sm-12">
  18. <div class="vc_column-inner">
  19. <div class="wpb_wrapper">
  20. <div class="qodef-title-holder qodef-breadcrumbs-type qodef-title-full-width qodef-title-va-header-bottom breadcrumb">
  21. <div itemprop="breadcrumb" class="qodef-breadcrumbs">
  22. <a itemprop="url" href="{{ path('app_web_homepage') }}">Home</a>
  23. <span class="qodef-delimiter">&nbsp; / &nbsp</span>
  24. <a itemprop="url" href="{{ path('app_web_news') }}">{{ 'news.title'|trans }}</a>
  25. </div>
  26. <div class="qodef-section-title-holder" style="text-align: center;padding-bottom: 50px !important;">
  27. <div class="qodef-st-inner">
  28. <h1 class="qodef-st-title">{{ 'news.title'|trans }}</h1>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="qodef-portfolio-list-holder qodef-grid-list qodef-pl-gallery qodef-three-columns qodef-medium-space qodef-pl-gallery-overlay qodef-pl-pag-load-more qodef-pl-has-filter">
  33. <div class="qodef-pl-inner qodef-outer-space clearfix">
  34. {% if news|length > 0 %}
  35. {% for s in news %}
  36. <article class="qodef-pl-item qodef-item-space portfolio-item type-portfolio-item">
  37. <div class="qodef-pl-item-inner">
  38. <div class="qodef-pl-item-inner news-item">
  39. <div class="qodef-pli-image">
  40. {% if s.translations[app.request.locale].image is not null %}
  41. <img src="{{ vich_uploader_asset(s.translations[app.request.locale], 'imageFile')| imagine_filter('news') }}" alt="{{ s.getTitle() }}" loading="lazy">
  42. {% endif %}
  43. </div>
  44. <div class="top-action-detail__content news-content">
  45. <div>
  46. <h2 class="qodef-iwt-title" style=" display: inline-block; max-width: 26ch; word-wrap: break-word;">
  47. {{ s.getTitle() }}
  48. </h2>
  49. </div>
  50. <div>
  51. <a href="{{ path('app_web_news_detail',{'news':s.getSlug()}) }}" class="qodef-iwt-button qodef-btn qodef-btn-simple">{{'showMore'|trans}}</a>
  52. </div>
  53. {#<p class="top-action-detail__date">
  54. 1.1.2022 - 1.3.2022
  55. </p>#}
  56. </div>
  57. <div class="qodef-pli-text-holder">
  58. <div class="qodef-pli-text-wrapper">
  59. <div class="qodef-pli-text">
  60. <h5 itemprop="name" class="qodef-pli-title entry-title">{{'showMore'|trans}}</h5>
  61. <a itemprop="url" class="qodef-pli-link qodef-block-drag-link" href="{{ path('app_web_news_detail',{'news':s.getSlug()}) }}" target="_self"></a>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. </article>
  68. {% endfor %}
  69. {% endif %}
  70. </div>
  71. <div class="qodef-pl-loading">
  72. <div class="qodef-pl-loading-bounce1"></div>
  73. <div class="qodef-pl-loading-bounce2"></div>
  74. <div class="qodef-pl-loading-bounce3"></div>
  75. </div>
  76. {#<div class="qodef-pl-load-more-holder">
  77. <div class="qodef-pl-load-more">
  78. <a itemprop="url" target="_self" class="qodef-btn qodef-btn-large qodef-btn-outline">
  79. <span class="qodef-btn-text">{{'loadMore'|trans}}</span>
  80. </a>
  81. </div>
  82. </div>#}
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. {{ include('web/core/gift-card.html.twig') }}
  95. </div>
  96. </div>
  97. {{ include('web/core/footer.html.twig') }}
  98. {% endblock %}