Guest User

Untitled

a guest
Oct 17th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. <script type="text/javascript">
  2.  
  3. /**
  4. * template for dynamic translations and urls for js
  5. */
  6. var battl = {
  7. {% if hashId %}
  8. hashId: '{{ hashId }}',
  9. {% endif %}
  10. loader: {
  11. small : '<img src="{{ asset('bundles/applicationuser/images/loading.gif') }}" />'
  12. },
  13. inlineEdit: {
  14. tooltip: '{{ "user.profile.edit.tooltip" | trans }}',
  15. submit: '{{ "user.profile.edit.submit" | trans }}',
  16. cancel: '{{ "user.profile.edit.cancel" | trans }}',
  17. ajax: '{{ path('application_user_profile_ajax_update') }}'
  18. },
  19. ajax: {
  20. profile: {
  21. update: '{{ path('application_user_profile_ajax_update') }}'
  22. }
  23. },
  24. dialog : {
  25. address : {
  26. buttons: {
  27. submit: '{{ 'user.profile.vcard.dialog.save' | trans }}',
  28. cancel: '{{ 'user.profile.vcard.dialog.cancel' | trans }}'
  29. }
  30. },
Add Comment
Please, Sign In to add comment