You are here

opigno-learning-path-modules.html.twig in Opigno Learning path 8

Same filename and directory in other branches
  1. 3.x templates/opigno-learning-path-modules.html.twig
<!-- group/{group}/inner-modules -->

<base href="{{ base_path ~ base_href }}">

<script type="text/javascript">
  window.appConfig = {
    formSubmitBtn: false,
    groupId: {{ learning_path_id }},
    apiBaseUrl: '{{ base_path }}',
    moduleContext: {{ module_context }},
    text_all: '{{ "All"|t|e }}',
    text_activities_bank: '{{ "Activities bank"|t|e }}',
    text_add_activity: '{{ "Add activity"|t|e }}',
    text_activity: '{{ "activity"|t|e }}',
    text_activities: '{{ "activities"|t|e }}',
    text_show_activities: '{{ "Show activities"|t|e }}',
    text_add_activities_to_the_module: '{{ "Add activities to the module"|t|e }}',
    text_close: '{{ "close"|t|e }}',
    text_move: '{{ "move"|t|e }}',
    text_preview: '{{ "Preview"|t|e }}',
    text_max_score: '{{ "max score"|t|e }}',
    text_edit: '{{ "edit"|t|e }}',
    text_delete: '{{ "delete"|t|e }}',
    text_choose_an_activity_type: '{{ "CHOOSE AN ACTIVITY TYPE"|t|e }}',
    text_choose_an_activity: '{{ "CHOOSE AN ACTIVITY"|t|e }}',
    text_help: '{{ "help"|t|e }}',
    text_create_a_new_activity: '{{ "Create a new activity"|t|e }}',
    text_or_add_from_existing_catalogue: '{{ "Or add from the existing catalog"|t|e }}',
    text_search_for_an_activity: '{{ "Search for an activity"|t|e }}',
    text_activity_id_table: '{{ "Activity ID"|t|e }}',
    text_max_score_table: '{{ "Max score"|t|e }}',
    text_edit_table: '{{ "Edit"|t|e }}',
    text_remove_table: '{{ "Remove"|t|e }}',
    text_confirm_delete: '{{ "Confirm delete"|t|e }}',
    text_cancel: '{{ "cancel"|t|e }}',
    text_confirm: '{{ "confirm"|t|e }}',
    text_preview_of_activity: '{{ "Preview of activity"|t|e }}',
    text_property_of: '{{ "Property of"|t|e }}',
    text_add_a_step: '{{ "ADD A STEP"|t|e }}',
    text_add_a: '{{ "ADD A"|t|e }}',
    text_create_a_new: '{{ "Create a new"|t|e }}',
    text_module: '{{ "module"|t|e }}',
    text_modules: '{{ "modules"|t|e }}',
    text_tree_view: '{{ "Tree view"|t|e }}',
    text_score: '{{ "Score"|t|e }}',
    text_search: '{{ "Search"|t|e }}',
    viewType: 'activities',
    userHasInfoCard: '{{ user_has_info_card }}',
    hideInfocardUrl: '/opigno-group-manager/hide-info-card',
    getEntitiesUrl: '/group/%groupId/get-items',
    getEntitiesPositionsUrl: '/group/%groupId/get-positions',
    getModulesUrl: '/group/%groupId/modules/get-items',
    getActivitiesUrl: '/group/%moduleId/get-activities',
    getExtPackageFormUrl: '/module/%opigno_module/add-external-package',
    getExtPackagePptFormUrl: '/module/%opigno_module/add-external-package/ppt',
    updateActivityUrl: '/group/%moduleId/update-activity',
    deleteActivityUrl: '/group/%moduleId/delete-activity',
    getActivityTypesUrl: '/module/manager/get-activity-types',
    getActivityFormUrl: '/module/%opigno_module/item-form/%type/%item',
    getActivityPreviewUrl: '/module/manager/activity-preview/%opigno_activity',
    getActivityListUrl: '/module/%opigno_module/manager/get-activities-list',
    addActivityUrl: '/module/%opigno_module/add-activity/%opigno_activity/group/%group_id',
    addActivitiesBankUrl: '/opigno_module/%opigno_module/activities-bank-lpm',
    updateWeightUrl: '/module/manager/update-weight',
    nextLink: '{{ next_link }}',
    text_score_2: '{{ "Score"|t|e }}',
    text_answer_at_last_step: '{{ "Answer at last step"|t|e }}',
  };
</script>

<app-root class="d-block">{{ 'Loading app...'|t|e }}</app-root>

File

templates/opigno-learning-path-modules.html.twig
View source
  1. <!-- group/{group}/inner-modules -->
  2. <base href="{{ base_path ~ base_href }}">
  3. <script type="text/javascript">
  4. window.appConfig = {
  5. formSubmitBtn: false,
  6. groupId: {{ learning_path_id }},
  7. apiBaseUrl: '{{ base_path }}',
  8. moduleContext: {{ module_context }},
  9. text_all: '{{ "All"|t|e }}',
  10. text_activities_bank: '{{ "Activities bank"|t|e }}',
  11. text_add_activity: '{{ "Add activity"|t|e }}',
  12. text_activity: '{{ "activity"|t|e }}',
  13. text_activities: '{{ "activities"|t|e }}',
  14. text_show_activities: '{{ "Show activities"|t|e }}',
  15. text_add_activities_to_the_module: '{{ "Add activities to the module"|t|e }}',
  16. text_close: '{{ "close"|t|e }}',
  17. text_move: '{{ "move"|t|e }}',
  18. text_preview: '{{ "Preview"|t|e }}',
  19. text_max_score: '{{ "max score"|t|e }}',
  20. text_edit: '{{ "edit"|t|e }}',
  21. text_delete: '{{ "delete"|t|e }}',
  22. text_choose_an_activity_type: '{{ "CHOOSE AN ACTIVITY TYPE"|t|e }}',
  23. text_choose_an_activity: '{{ "CHOOSE AN ACTIVITY"|t|e }}',
  24. text_help: '{{ "help"|t|e }}',
  25. text_create_a_new_activity: '{{ "Create a new activity"|t|e }}',
  26. text_or_add_from_existing_catalogue: '{{ "Or add from the existing catalog"|t|e }}',
  27. text_search_for_an_activity: '{{ "Search for an activity"|t|e }}',
  28. text_activity_id_table: '{{ "Activity ID"|t|e }}',
  29. text_max_score_table: '{{ "Max score"|t|e }}',
  30. text_edit_table: '{{ "Edit"|t|e }}',
  31. text_remove_table: '{{ "Remove"|t|e }}',
  32. text_confirm_delete: '{{ "Confirm delete"|t|e }}',
  33. text_cancel: '{{ "cancel"|t|e }}',
  34. text_confirm: '{{ "confirm"|t|e }}',
  35. text_preview_of_activity: '{{ "Preview of activity"|t|e }}',
  36. text_property_of: '{{ "Property of"|t|e }}',
  37. text_add_a_step: '{{ "ADD A STEP"|t|e }}',
  38. text_add_a: '{{ "ADD A"|t|e }}',
  39. text_create_a_new: '{{ "Create a new"|t|e }}',
  40. text_module: '{{ "module"|t|e }}',
  41. text_modules: '{{ "modules"|t|e }}',
  42. text_tree_view: '{{ "Tree view"|t|e }}',
  43. text_score: '{{ "Score"|t|e }}',
  44. text_search: '{{ "Search"|t|e }}',
  45. viewType: 'activities',
  46. userHasInfoCard: '{{ user_has_info_card }}',
  47. hideInfocardUrl: '/opigno-group-manager/hide-info-card',
  48. getEntitiesUrl: '/group/%groupId/get-items',
  49. getEntitiesPositionsUrl: '/group/%groupId/get-positions',
  50. getModulesUrl: '/group/%groupId/modules/get-items',
  51. getActivitiesUrl: '/group/%moduleId/get-activities',
  52. getExtPackageFormUrl: '/module/%opigno_module/add-external-package',
  53. getExtPackagePptFormUrl: '/module/%opigno_module/add-external-package/ppt',
  54. updateActivityUrl: '/group/%moduleId/update-activity',
  55. deleteActivityUrl: '/group/%moduleId/delete-activity',
  56. getActivityTypesUrl: '/module/manager/get-activity-types',
  57. getActivityFormUrl: '/module/%opigno_module/item-form/%type/%item',
  58. getActivityPreviewUrl: '/module/manager/activity-preview/%opigno_activity',
  59. getActivityListUrl: '/module/%opigno_module/manager/get-activities-list',
  60. addActivityUrl: '/module/%opigno_module/add-activity/%opigno_activity/group/%group_id',
  61. addActivitiesBankUrl: '/opigno_module/%opigno_module/activities-bank-lpm',
  62. updateWeightUrl: '/module/manager/update-weight',
  63. nextLink: '{{ next_link }}',
  64. text_score_2: '{{ "Score"|t|e }}',
  65. text_answer_at_last_step: '{{ "Answer at last step"|t|e }}',
  66. };
  67. </script>
  68. <app-root class="d-block">{{ 'Loading app...'|t|e }}</app-root>