templates/network/auction/sections/auction_section_timeline.html.twig line 48

Open in your IDE?
  1. {% do section_navigation_add({ name: 'timeline', anchor: 'timeline' }) %}
  2. <turbo-frame id="tab_content">
  3.   {# {% if user or (auction.attendees|length) > 0 %}
  4.           <aside class="grid gap-5 md:hidden auto-rows-min">
  5.             {% include 'network/auction/widgets/auction_widget_attendance.html.twig' with {
  6.               auction: auction,
  7.               user: user,
  8.               turbo_id: 'mobile'
  9.             } only %}
  10.           </aside>
  11.         {% endif %} #}
  12.   <div class="grid gap-12 sm:grid-cols-12">
  13.   <section class="xl:col-span-7 col-span-full" id="timeline">
  14.   <div class="mb-8">
  15.   {% include 'network/auction/sections/auction_section_countdown.html.twig' with {
  16.             auction: auction
  17.           } only %}
  18.           </div>
  19.     <turbo-frame id="frame-timeline"
  20.       src="{{ path('timeline_universal_frame', { _locale: app.request.locale, id: auction.id }) }}"
  21.       {{ live_event_subscriber('timeline-posts-' ~ auction.id) }}>
  22.       {% include 'network/profile/timeline/card_skeleton.html.twig' %}
  23.     </turbo-frame>
  24.   </section>
  25.   <aside class="relative grid gap-5 col-span-full auto-rows-min xl:col-span-5">
  26.         <div class="sticky top-32">
  27.           {% embed 'network/widget/widget_sidebar.html.twig' %}
  28.               {% block widgets %}
  29.                 {% include 'network/auction/widgets/auction_widget_external_auction.html.twig' with {
  30.                   auction: auction
  31.                 } only %}
  32.                 {# {% if user or (auction.attendees|length) > 0 %}
  33.                   <div class="hidden md:block">
  34.                     {% include 'network/auction/widgets/auction_widget_attendance.html.twig' with {
  35.                       auction: auction,
  36.                       user: user,
  37.                       turbo_id: 'sidebar'
  38.                     } only %}
  39.                     {% include 'network/widget/widget_separator.html.twig' %}
  40.                   </div>
  41.                 {% endif %} #}
  42.                 {% include 'network/auction/widgets/auction_widget_auctionhouse.html.twig' with {
  43.                   auction: auction
  44.                 } only %}
  45.                 {% include 'network/widget/widget_separator.html.twig' %}
  46.                 {% include 'network/auction/widgets/auction_widget_press.html.twig' with {
  47.                   auction: auction
  48.                 } only %}
  49.               {% endblock %}
  50.             {% endembed %}
  51.             {# {% include 'network/widget/widget_banner.html.twig' with { banner: banner } %} #}
  52.         </aside>
  53.         <turbo-stream action="replace" target="tab_navigation">
  54. <template>
  55.       {% include "network/auction/components/tab_navigation_component.html.twig" with {
  56.         auction: auction,
  57.         highlightedTab: app.request.pathInfo
  58.       } %}
  59. </template>
  60. </turbo-stream>
  61. </turbo-frame>