templates/feHome.html.twig line 1

Open in your IDE?
  1. {% extends 'baseMobile.html.twig' %}
  2. {% block title %}PrideFM: {{ event.name }}{% endblock %}
  3. {% block body %}
  4. {#    {%if upcoming|length==0 %}#}
  5. {#    <div class="hero">#}
  6. {#        <div id="artistCarousel" class="carousel slide" data-ride="carousel">#}
  7. {#            <div class="carousel-inner">#}
  8. {#            {%for artist in artists %}#}
  9. {#                <div class="carousel-item {% if loop.first %}active{% endif %}" >#}
  10. {#                    {% for image in artist.images %}#}
  11. {#                        {% if loop.first %}#}
  12. {#                            <img src="{{ image.id | imagine_filter('fe_app_hero') }}" alt="{{ image.caption }}">#}
  13. {#                        {% endif %}#}
  14. {#                    {% endfor %}#}
  15. {#                    <div class="carousel-caption">#}
  16. {#                        <h4 class="card-title">{{ artist.name }}</h4>#}
  17. {#                    </div>#}
  18. {#                </div>#}
  19. {#            {% endfor%}#}
  20. {#            </div>#}
  21. {#            <button class="carousel-control-prev" type="button" data-target="#artistCarousel" data-slide="prev">#}
  22. {#                <span class="carousel-control-prev-icon" aria-hidden="true"></span>#}
  23. {#                <span class="sr-only">Previous</span>#}
  24. {#            </button>#}
  25. {#            <button class="carousel-control-next" type="button" data-target="#artistCarousel" data-slide="next">#}
  26. {#                <span class="carousel-control-next-icon" aria-hidden="true"></span>#}
  27. {#                <span class="sr-only">Next</span>#}
  28. {#            </button>#}
  29. {#        </div>#}
  30. {#    </div>#}
  31. {#    {%endif%}#}
  32.     <div class="navigation">
  33. {#        <div class="item">#}
  34. {#            {% if orders.invited|length>0 or orders.purchased|length>0 %}#}
  35. {#                <a href="#" class="btn btn-primary" data-toggle="modal" data-target="#barcodeModal">#}
  36. {#                    <div>My Tickets</div>#}
  37. {#                </a>#}
  38. {#            {% else %}#}
  39. {#                <a href="{{ currentEvent.ticketTailorUrl }}" class="btn btn-primary" >#}
  40. {#                    <div>Buy Your Tickets</div>#}
  41. {#                </a>#}
  42. {#            {% endif %}#}
  43. {#        </div>#}
  44.         <div class="item">
  45.             <a href="{{ path('feapp_news') }}" class="btn btn-orange" >
  46.                 <div>Whats On</div>
  47.             </a>
  48.         </div>
  49.         {% for item in content %}
  50.             <div class="item">
  51.                 <a href="{{ path('feapp_page', {'slug': item.code})}}" class="btn btn-{{ item.style }}" >
  52.                     <div>
  53.                         {{ item.title }}
  54.                     </div>
  55.                 </a>
  56.             </div>
  57.         {% endfor %}
  58.         <div class="item">
  59.             <a href="{{ path('feapp_sponsors')}}" class="btn btn-blue" >
  60.                 <div>Sponsors</div>
  61.             </a>
  62.         </div>
  63.         {% if event.emdedRadioCode is not empty  %}
  64.         <div class="item">
  65.             <a href="https://player.aiir.com/{{ event.emdedRadioCode }}/" class="btn btn-violet"
  66.                onClick="window.open(this.href,
  67. 'PrideFM in {{ event.name }}','resizable,height='+(window.innerHeight/3)+',width='+document.querySelector('.mobile-container').clientWidth); return false;" >
  68.                 <div>Listen Live</div>
  69.             </a>
  70.         </div>
  71.         {% endif %}
  72.     </div>
  73. {% endblock %}