123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <link href="{{ _p.web_plugin }}advanced_subscription/views/css/style.css" rel="stylesheet" type="text/css">
- <script>
- $(document).on('ready', function () {
- $('#asp-close-window').on('click', function (e) {
- e.preventDefault();
- window.close();
- });
- $('#asp-go-to').on('click', function (e) {
- e.preventDefault();
- window.close();
- window.opener.location.href = '{{ _p.web_main ~ 'session/index.php?session_id=' ~ session.id }}';
- });
- });
- </script>
- <h2 class="legal-terms-title legal-terms-popup">
- {{ "SubscriptionToOpenSession"|get_plugin_lang('AdvancedSubscriptionPlugin') }}
- </h2>
- {% if not is_subscribed %}
- <div class="alert alert-warning legal-terms-popup">
- <ul>
- {% for errorMessage in errorMessages %}
- <li>{{ errorMessage }}</li>
- {% endfor %}
- </ul>
- </div>
- <div class="legal-terms-buttons legal-terms-popup">
- <a
- class="btn btn-success btn-advanced-subscription btn-accept"
- href="#" id="asp-close-window">
- <i class="fa fa-check"></i>
- {{ "AcceptInfinitive"|get_plugin_lang('AdvancedSubscriptionPlugin') }}
- </a>
- </div>
- {% else %}
- <div class="alert alert-success legal-terms-popup">
- {{ 'SuccessSubscriptionToSessionX'|get_plugin_lang('AdvancedSubscriptionPlugin')|format(session.name) }}
- </div>
- <div class="text-right legal-terms-popup">
- <a
- class="btn btn-success btn-advanced-subscription btn-accept"
- href="#" id="asp-go-to">
- <i class="fa fa-external-link"></i>
- {{ "GoToSessionX"|get_plugin_lang('AdvancedSubscriptionPlugin')|format(session.name) }}
- </a>
- </div>
- {% endif %}
|