templates/components/packages/pricing.html.twig line 1
<!-- Pricing-Section -->
<section class="row_am pricing_section" id="pricing">
<!-- container start -->
<div class="container">
<div class="section_title" data-aos="fade-up" data-aos-duration="1500" data-aos-delay="300">
<!-- h2 -->
<h2>{{ tString("section_pricing_title_1") }} <span>{{ tString("section_pricing_title_2") }}</span></h2>
<!-- p -->
<p>{{ tString("section_pricing_p") }}</p>
</div>
<!-- toggle button -->
{% if app.user %}
<div class="d-flex justify-content-center">
<ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="pills-first-tab" data-toggle="pill" data-target="#pills-first" type="button" role="tab" aria-controls="pills-first" aria-selected="true">START</button>
</li>
</ul>
</div>
{% endif %}
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-first" role="tabpanel" aria-labelledby="pills-first-tab">
<!-- Pricing-Section -->
<section class="row_am pricing_section" id="pricing">
<!-- container start -->
<div class="container">
<!-- toggle button -->
<div class="toggle_block" data-aos="fade-up" data-aos-duration="1500">
<span class="month text-capitalize">{{ tString("monthly") }}</span>
<div class="tog_block">
<span class="tog_btn month_active"></span>
</div>
<span class="years active text-capitalize">{{ tString("yearly") }}</span>
</div>
<!-- pricing box monthly start -->
<div class="pricing_pannel active" data-aos="fade-up" data-aos-duration="1500">
<!-- row start -->
<div class="row">
{% for item in monthly %}
<!-- pricing box 1 -->
<div class="col-md-4 monthly_package d-none">
<div class="pricing_block {% if item.extract %}highlited_block{% endif %}">
<div class="pkg_name mb-4">
{% set name = item.name %}
{% set itemText = item.itemText %}
{% for translation in item.productTranslations() %}
{% if translation.getLocale() == app.request.locale %}
{% set name = translation.name %}
{% set itemText = translation.itemText %}
{% endif %}
{% endfor %}
<h3>{{ name }}</h3>
</div>
<span class="price">
{% if item.oldPrice %}
<div class="h4"><del>{{ item.oldPrice|number_format(0,",",".") }} € <br></del></div>
{% endif %}
{{ item.price|number_format(0,",",".") }} € <br>
</span>
<div>
{{ itemText|raw() }}
</div>
<p class="mt-3"><a class="btn white_btn text-uppercase" href="{{ path('user_register_free_trial') }}?product={{ item.id }}">{{ tString("isprobaj_besplatno") }} </a></p>
{% if route == "web_packages" %}
<form action="{{ path('choose_plan') }}" method="get">
<input type="hidden" value="{{ item.id }}" name="product_id">
<input type="hidden" value="2" name="price_type">
<button type="submit" class="btn btn-link btn-theme-link text-uppercase">{{ tString("buy") }} <i class="fa fa-arrow-right"></i></button>
</form>
{% endif %}
</div>
</div>
{% endfor %}
{% for item in yearly %}
<!-- pricing box 1 -->
<div class="col-md-4 yearly_package d-block">
<div class="pricing_block {% if item.extract %}highlited_block{% endif %}">
<div class="pkg_name mb-4">
{% set name = item.name %}
{% set itemText = item.itemText %}
{% for translation in item.productTranslations() %}
{% if translation.getLocale() == app.request.locale %}
{% set name = translation.name %}
{% set itemText = translation.itemText %}
{% endif %}
{% endfor %}
<h3>{{ name }}</h3>
</div>
<span class="price">
{% if item.oldPrice %}
<div class="h4"><del>{{ item.oldPrice|number_format(0,",",".") }} € <br></del></div>
{% endif %}
{{ item.price|number_format(0,",",".") }} € <br>
</span>
<div>
{{ itemText|raw() }}
</div>
<p class="mt-3"><a class="btn white_btn text-uppercase" href="{{ path('user_register_free_trial') }}?product={{ item.id }}">{{ tString("isprobaj_besplatno") }} </a></p>
{% if route == "web_packages" %}
<form action="{{ path('choose_plan') }}" method="get">
<input type="hidden" value="{{ item.id }}" name="product_id">
<input type="hidden" value="2" name="price_type">
<button type="submit" class="btn btn-link btn-theme-link text-uppercase">{{ tString("buy") }} <i class="fa fa-arrow-right"></i></button>
</form>
{% endif %}
</div>
</div>
{% endfor %}
</div>
<!-- row end -->
</div>
<!-- pricing box monthly end -->
</div>
<!-- container start end -->
</section>
<!-- Pricing-Section end -->
</div>
</div>
<p class="contact_text" data-aos="fade-up" data-aos-duration="1500">{{ tString("not_sure_what_to_choose") }} <a href="{{ path('web_contact') }}">{{ tString("contact_us") }}</a> {{ tString("for_custom_packages") }}</p>
</div>
<!-- container start end -->
</section>
<!-- Pricing-Section end -->