templates/network/horse/sections/horse_section_timeline.html.twig line 1

Open in your IDE?
  1. {% do section_navigation_add({ name: 'timeline', anchor: 'timeline' }) %}
  2. <turbo-frame id="tab_content">
  3.   <div class="grid gap-12 xl:grid-cols-12">
  4.     <section class="xl:col-span-7 col-span-full" id="timeline">
  5.       <turbo-frame id="frame-timeline"
  6.         src="{{ path('timeline_universal_frame', { _locale: app.request.locale, id: horse.id }) }}">
  7.         {% include 'network/profile/timeline/card_skeleton.html.twig' %}
  8.       </turbo-frame>
  9.     </section>
  10.     <aside class="flex flex-col gap-5 col-span-full xl:col-span-5">
  11.       <div class="sticky top-32">
  12.         {% embed 'network/widget/widget_sidebar.html.twig' %}
  13.           {% block widgets %}
  14.             {% include 'network/horse/widgets/horse_widget_data.html.twig' with {
  15.               horse: horse
  16.             } only %}
  17.             {% include 'network/widget/widget_separator.html.twig' %}
  18.             {% include 'network/horse/widgets/horse_widget_profile.html.twig' with {
  19.               title: 'owner',
  20.               icon: 'subprofile-owner',
  21.               profile: horse.owner
  22.             } only %}
  23.             {% include 'network/horse/widgets/horse_widget_profile.html.twig' with {
  24.               title: 'breeder',
  25.               icon: 'subprofile-breeder',
  26.               profile: horse.breeder
  27.             } only %}
  28.             {% include 'network/horse/widgets/horse_widget_profile.html.twig' with {
  29.               title: 'trainer',
  30.               icon: 'subprofile-trainer',
  31.               profile: horse.trainer
  32.             } only %}
  33.             {% include 'network/horse/widgets/horse_widget_profile.html.twig' with {
  34.               title: 'racingmanager',
  35.               icon: 'subprofile-racingmanager',
  36.               profile: horse.racingmanager
  37.             } only %}
  38.             {% include 'network/widget/widget_separator.html.twig' %}
  39.             {% include 'network/horse/widgets/horse_widget_press.html.twig' with {
  40.               horse: horse
  41.             } only %}
  42.           {% endblock %}
  43.         {% endembed %}
  44.       </div>
  45.     </aside>
  46.   </div>
  47.   <turbo-stream action="replace" target="tab_navigation">
  48.     <template>
  49.       {% include 'network/horse/components/tab_navigation_component.html.twig' with {
  50.         horse: horse,
  51.         highlightedTab: app.request.pathInfo
  52.       } %}
  53.     </template>
  54.   </turbo-stream>
  55. </turbo-frame>