templates/pages/partials/match_js_render.html.twig line 1

Open in your IDE?
  1. <%if first_of_month%>
  2. <div class="component component_matches-month">
  3.     <div class="row">
  4.         <div class="col-md-12">
  5.             <h3 class="strike text-white">
  6.                 <span style=" text-transform: capitalize; ">
  7.                     <i class="far fa-calendar-alt is-margin-right-10"></i>
  8.                     <%dateFormat:date 'MMMM Y'%>
  9.                 </span>
  10.             </h3>
  11.         </div>
  12.     </div>
  13. </div>
  14. <%/if%>
  15. <div class="row">
  16.     <div class="col match partial partial_match_list-item">
  17.         <%if !disable_booking%>
  18.             <div class="card">
  19.         <%else%>
  20.             <div class="card disabled">
  21.         <%/if%>
  22.                 <%if !disable_booking%>
  23.                 <a href="<%generateCheckoutUrl id/%>" class="card-link"></a>
  24.                 <%/if%>
  25.                 <div class="match-header">
  26.                     <div class="actions">
  27.                         <div class="options" data-component="Favorite" data-match-id="<%:id%>">
  28.                             <div class="favorite">
  29.                     <span class="d-none" data-is-favorited="true">
  30.                         <i class="fas fa-star"></i>
  31.                     </span>
  32.                                 <span class="d-none" data-is-favorited="false">
  33.                         <i class="fal fa-star"></i>
  34.                     </span>
  35.                                 <a href="javascript:void(0)" class="favourite favorite-add favorite-match"></a>
  36.                             </div>
  37.                             <div class="widget widget--share dropdown show">
  38.                                 <a class="dropdown-toggle" href="#" role="button" id="dropdownMenuLink"
  39.                                    data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  40.                                     <i class="fa-regular fa-share-nodes"></i>
  41.                                 </a>
  42.                                 <div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
  43.                                     <a href="<%generatedShareMatchUrl home_club.name away_club.name id /%>">
  44.                                         <i class="far fa-envelope icon-before"></i>E-mail
  45.                                     </a>
  46.                                     <a href="https://api.whatsapp.com/send?text=Ik heb bij Voetbal Retour een leuke voetbalreis naar de wedstrijd <%:home_club.name%> - <%:away_club.name%> gevonden. Ga je mee?%0a<%generatedShareMatchUrlclean home_club.name away_club.name id /%>"
  47.                                        target="_blank">
  48.                                         <i class="fab fa-whatsapp icon-before"></i>WhatsApp
  49.                                     </a>
  50.                                     <a href="https://telegram.me/share/url?url=<%generatedShareMatchUrlclean home_club.name away_club.name id /%>&text=Ik heb bij Voetbal Retour een leuke voetbalreis naar de wedstrijd <%:home_club.name%> - <%:away_club.name%> gevonden. Ga je mee?%0a<%generatedShareMatchUrlclean home_club.name away_club.name id /%>"
  51.                                        target="_blank">
  52.                                         <i class="fab fa-telegram icon-before"></i>Telegram
  53.                                     </a>
  54.                                 </div>
  55.                             </div>
  56.                         </div>
  57.                     </div>
  58.                     <div class="details">
  59.                         <div class="competition"><i class="fa-solid fa-fw fa-futbol icon-before"></i><%:competition.name%>
  60.                         </div>
  61.                         <div class="location"><i class="fa-solid fa-fw fa-location-dot icon-before"></i><%:stadium.name%>, <%:stadium.place%></div>
  62.                     </div>
  63.                     <div class="pricing">
  64.                     <span class="text-holder">
  65.                         vanaf <span class="price text-highlighter"><span class="currency">€</span><%:price.amount/100%>,-</span>
  66.                     </span>
  67.                         <button type="button" data-toggle="modal" data-target="#price-details"><i
  68.                                     class="fas fa-info-circle"></i></button>
  69.                     </div>
  70.                 </div>
  71.                 <div class="match-content">
  72.                     <div class="club club-home">
  73.                         <img src="<%:home_club.logo.scale_100x100%>"
  74.                              alt="<%:home_club.name%>" class="club-logo">
  75.                         <div class="club-name"><%:home_club.name%></div>
  76.                     </div>
  77.                     <div class="vs mobile">-</div>
  78.                     <div class="vs desktop">VS</div>
  79.                     <div class="club club-away">
  80.                         <div class="club-name"><%:away_club.name%></div>
  81.                         <img src="<%:away_club.logo.scale_100x100%>"
  82.                              alt="<%:away_club.name%>" class="club-logo">
  83.                     </div>
  84.                 </div>
  85.                 <div class="match-footer">
  86.                     <div class="details">
  87.                         <div class="date">
  88.                             <i class="fa-solid fa-calendar-days icon-before"></i><%dateFormat:date 'DD-MM-Y'%>
  89.                         </div>
  90.                         <div class="time">
  91.                             <i class="fa-solid fa-clock icon-before"></i><%dateFormat:date 'HH:mm'%>
  92.                         </div>
  93.                         <%if final%>
  94.                         <div class="match-state-final label state-confirmed">
  95.                             <span class="text-holder"><i class="fas fa-check icon-before"></i> Bevestigd</span>
  96.                             <button data-toggle="modal" type="button" data-target="#match-status"><i
  97.                                         class="fas fa-info-circle"></i></button>
  98.                         </div>
  99.                         <%else%>
  100.                         <div class="match-state-final label">
  101.                             <span class="text-holder"><i class="fas fa-times icon-before"></i> Nog niet bevestigd</span>
  102.                             <button type="button" data-toggle="modal" data-target="#match-status"><i
  103.                                         class="fas fa-info-circle"></i></button>
  104.                         </div>
  105.                         <%/if%>
  106.                     </div>
  107.                     <div class="actions flex-grow-1 d-flex">
  108.                         <%if !disable_booking%>
  109.                         <a href="<%generateCheckoutUrl id/%>" class="is-btn is-background-color-accent stroke-full">Stel
  110.                             <span class="text-highlighter">samen</span></a>
  111.                         <%else%>
  112.                         <button disabled class="is-btn is-background-color-accent stroke-full disabled"><span
  113.                                     class="text-highlighter">Uitverkocht</span></button>
  114.                         <%/if%>
  115.                     </div>
  116.                 </div>
  117.             </div>
  118.         </div>
  119.         {{ include('pages/Modal/price_details.html.twig') }}
  120.         {{ include('pages/Modal/match_status.html.twig') }}
  121.     </div>
  122.     <%if last_of_month%>
  123.     <div class="component component_matches-month">
  124.         last of month
  125.         <div class="row">
  126.             <div class="col-md-12">
  127.                 <h3 class="strike text-white">
  128.                 <span style=" text-transform: capitalize; ">
  129.                     <i class="far fa-calendar-alt is-margin-right-10"></i>
  130.                     <%dateFormat:date 'MMMM Y'%>
  131.                 </span>
  132.                 </h3>
  133.             </div>
  134.         </div>
  135.     </div>
  136.     <%/if%>
  137. </div>