You are here

opigno-learning-path-courses.html.twig in Opigno Learning path 3.x

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

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

<script type="text/javascript">
  window.appConfig = {
    formSubmitBtn: false,
    groupId: {{ learning_path_id }},
    groupType: '{{ group_type }}',
    apiBaseUrl: '{{ base_path }}',
    viewType: '{{ view_type }}',
    userHasInfoCard: '{{ user_has_info_card }}',
    hideInfocardUrl: '/opigno-group-manager/hide-info-card',
    getCourses: '/group/%groupId/courses/get-items',
    getEntitiesUrl: '/group/%groupId/get-items',
    getEntitiesPositionsUrl: '/group/%groupId/get-positions',
    setEntitiesPositionsUrl: '/group/%groupId/set-positions',
    getEntitiesTypesUrl: '/group/%groupId/get-item-types',
    getEntitiesAvailableUrl: '/group/%groupId/get-available-items',
    getEntityFormUrl: '/group/%groupId/item-form/%bundle/%entityId{{ parent_learning_path }}',
    getActivitiesUrl: '/group/%moduleId/get-activities',
    getGuidedNavigationUrl: '/group/%groupId/get-guided-navigation',
    getRequiredActivitiesUrl: '/group/%contentType/%entityId/get-activities-required',
    submitAddEntityFormUrl: '/group/%groupId/create-item/%bundle',
    addEntityUrl: '/group/%groupId/add-item',
    removeEntityUrl: '/group/%groupId/remove-item',
    addEntityLinkUrl: '/group/%groupId/add-link',
    updateEntityLinkUrl: '/group/%groupId/update-link',
    removeEntityLinkUrl: '/group/%groupId/remove-link',
    updateEntityMandatoryUrl: '/group/%groupId/update-mandatory',
    updateEntityMinScoreUrl: '/group/%groupId/update-min-score',
    updateEntitiesUrl: '/group/%groupId/update-entities',
    updateGuidedNavigationUrl: '/group/%groupId/update-guided-navigation',
    activitiesPageUrl: '/group/%groupId/inner-modules',
    text_add_your_first_item: '{{ "Add your first item"|t|e }}',
    text_guided_navigation: '{{ "Guided navigation"|t|e }}',
    text_free_navigation: '{{ "Free navigation"|t|e }}',
    text_if_entity_dropped_under_children: '{{ "Cannot drop under or at the same level as children, move children before"|t|e }}',
    text_cannot_drop_over_or_at_the_same_level: '{{ "Cannot drop over or at the same level as parent"|t|e }}',
    text_click_now_on_the_two_steps_of_your_training: '{{ "Click now on the two steps of your training to be linked in order to create the link"|t|e }}',
    text_status_message: '{{ "Status message"|t|e }}',
    text_conditions: '{{ "Conditions"|t|e }}',
    text_edit: '{{ "edit"|t|e }}',
    text_last_step: '{{ "Last step:"|t|e }}',
    text_validate: '{{ "Validate"|t|e }}',
    text_cancel: '{{ "cancel"|t|e }}',
    text_delete_link: '{{ "delete link"|t|e }}',
    text_this_action_create_an_orphan: '{{ "This action create an orphan, confirm:"|t|e }}',
    text_confirm: '{{ "confirm"|t|e }}',
    bt_add_a_link: '{{ "add a link"|t|e }}',
    nextLink: '{{ next_link }}',
    text_opigno_module: '{{ "Opigno module"|t|e }}',
    text_course: '{{ "Course"|t|e }}',
    text_create_a_new: '{{ "Create a new"|t|e }}',
    text_or_add_from_existing_catalogue: '{{ "Or add from the existing catalog"|t|e }}',
    text_live_meeting: '{{ "Live meeting"|t|e }}',
    text_instructor_led_training: '{{ "Instructor-Led Training"|t|e }}',
    text_close: '{{ "close"|t|e }}',
    text_add_a_new_item: '{{ "Click here to add a new item"|t|e }}',
    text_do_not_show_this_message_again: '{{ "Do not show this message again"|t|e }}',
    text_modules: '{{ "modules"|t|e }}',
    text_module: '{{ "module"|t|e }}',
    text_add: '{{ "add"|t|e }}',
    text_update: '{{ "update"|t|e }}',
    text_score: '{{ "score"|t|e }}',
    text_delete: '{{ "delete"|t|e }}',
    text_mandatory: '{{ "Mandatory"|t|e }}',
    text_minimum_score_to_validate_step: '{{ "Minimum score to validate step"|t|e }}',
    text_search: '{{ "Search"|t|e }}',
    text_score_2: '{{ "Score"|t|e }}',
    text_answer_at_last_step: '{{ "Answer at last step"|t|e }}',
    text_tree_view: '{{ "Tree view"|t|e }}'
  };
</script>

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

File

templates/opigno-learning-path-courses.html.twig
View source
  1. <!-- group/{group}/inner-courses -->
  2. <base href="{{ base_path ~ base_href }}">
  3. <script type="text/javascript">
  4. window.appConfig = {
  5. formSubmitBtn: false,
  6. groupId: {{ learning_path_id }},
  7. groupType: '{{ group_type }}',
  8. apiBaseUrl: '{{ base_path }}',
  9. viewType: '{{ view_type }}',
  10. userHasInfoCard: '{{ user_has_info_card }}',
  11. hideInfocardUrl: '/opigno-group-manager/hide-info-card',
  12. getCourses: '/group/%groupId/courses/get-items',
  13. getEntitiesUrl: '/group/%groupId/get-items',
  14. getEntitiesPositionsUrl: '/group/%groupId/get-positions',
  15. setEntitiesPositionsUrl: '/group/%groupId/set-positions',
  16. getEntitiesTypesUrl: '/group/%groupId/get-item-types',
  17. getEntitiesAvailableUrl: '/group/%groupId/get-available-items',
  18. getEntityFormUrl: '/group/%groupId/item-form/%bundle/%entityId{{ parent_learning_path }}',
  19. getActivitiesUrl: '/group/%moduleId/get-activities',
  20. getGuidedNavigationUrl: '/group/%groupId/get-guided-navigation',
  21. getRequiredActivitiesUrl: '/group/%contentType/%entityId/get-activities-required',
  22. submitAddEntityFormUrl: '/group/%groupId/create-item/%bundle',
  23. addEntityUrl: '/group/%groupId/add-item',
  24. removeEntityUrl: '/group/%groupId/remove-item',
  25. addEntityLinkUrl: '/group/%groupId/add-link',
  26. updateEntityLinkUrl: '/group/%groupId/update-link',
  27. removeEntityLinkUrl: '/group/%groupId/remove-link',
  28. updateEntityMandatoryUrl: '/group/%groupId/update-mandatory',
  29. updateEntityMinScoreUrl: '/group/%groupId/update-min-score',
  30. updateEntitiesUrl: '/group/%groupId/update-entities',
  31. updateGuidedNavigationUrl: '/group/%groupId/update-guided-navigation',
  32. activitiesPageUrl: '/group/%groupId/inner-modules',
  33. text_add_your_first_item: '{{ "Add your first item"|t|e }}',
  34. text_guided_navigation: '{{ "Guided navigation"|t|e }}',
  35. text_free_navigation: '{{ "Free navigation"|t|e }}',
  36. text_if_entity_dropped_under_children: '{{ "Cannot drop under or at the same level as children, move children before"|t|e }}',
  37. text_cannot_drop_over_or_at_the_same_level: '{{ "Cannot drop over or at the same level as parent"|t|e }}',
  38. text_click_now_on_the_two_steps_of_your_training: '{{ "Click now on the two steps of your training to be linked in order to create the link"|t|e }}',
  39. text_status_message: '{{ "Status message"|t|e }}',
  40. text_conditions: '{{ "Conditions"|t|e }}',
  41. text_edit: '{{ "edit"|t|e }}',
  42. text_last_step: '{{ "Last step:"|t|e }}',
  43. text_validate: '{{ "Validate"|t|e }}',
  44. text_cancel: '{{ "cancel"|t|e }}',
  45. text_delete_link: '{{ "delete link"|t|e }}',
  46. text_this_action_create_an_orphan: '{{ "This action create an orphan, confirm:"|t|e }}',
  47. text_confirm: '{{ "confirm"|t|e }}',
  48. bt_add_a_link: '{{ "add a link"|t|e }}',
  49. nextLink: '{{ next_link }}',
  50. text_opigno_module: '{{ "Opigno module"|t|e }}',
  51. text_course: '{{ "Course"|t|e }}',
  52. text_create_a_new: '{{ "Create a new"|t|e }}',
  53. text_or_add_from_existing_catalogue: '{{ "Or add from the existing catalog"|t|e }}',
  54. text_live_meeting: '{{ "Live meeting"|t|e }}',
  55. text_instructor_led_training: '{{ "Instructor-Led Training"|t|e }}',
  56. text_close: '{{ "close"|t|e }}',
  57. text_add_a_new_item: '{{ "Click here to add a new item"|t|e }}',
  58. text_do_not_show_this_message_again: '{{ "Do not show this message again"|t|e }}',
  59. text_modules: '{{ "modules"|t|e }}',
  60. text_module: '{{ "module"|t|e }}',
  61. text_add: '{{ "add"|t|e }}',
  62. text_update: '{{ "update"|t|e }}',
  63. text_score: '{{ "score"|t|e }}',
  64. text_delete: '{{ "delete"|t|e }}',
  65. text_mandatory: '{{ "Mandatory"|t|e }}',
  66. text_minimum_score_to_validate_step: '{{ "Minimum score to validate step"|t|e }}',
  67. text_search: '{{ "Search"|t|e }}',
  68. text_score_2: '{{ "Score"|t|e }}',
  69. text_answer_at_last_step: '{{ "Answer at last step"|t|e }}',
  70. text_tree_view: '{{ "Tree view"|t|e }}'
  71. };
  72. </script>
  73. <app-root class="d-block">{{ 'Loading app...'|t|e }}</app-root>