templates/includes/common/smart-app-init.html.twig line 1

Open in your IDE?
  1. {% if (isWidget is not defined or isWidget == false) and ((android_app_id is defined and android_app_id is not empty) or (ios_app_id is defined and ios_app_id is not empty)) %}
  2. <script type="text/javascript">
  3. new SmartBanner({
  4. daysHidden: 0,
  5. daysReminder: 0,
  6. icon: '/img/global/ic_launcher-web.png',
  7. appStoreLanguage: '{{ app.request.getLocale() }}',
  8. title: '{{ 'app.title' | trans }}',
  9. author: '{{ 'app.author' | trans}}',
  10. button: '{{ 'nav.download' | trans }}',
  11. store: {
  12. ios: '{{ 'app.applestore' | trans}}',
  13. android: '{{ 'app.googleplay' | trans }}',
  14. },
  15. price: {
  16. ios: '{{ 'price.free' | trans }}',
  17. android: '{{ 'price.free' | trans }}',
  18. }
  19. });
  20. </script>
  21. {% endif %}