You are here

opigno-group-manager.html.twig in Opigno group manager 3.x

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

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

<script type="text/javascript">
  window.appConfig = {
    formSubmitBtn: false,
    groupId: {{ group_id }},
    apiBaseUrl: '{{ base_path ~ language_prefix }}',
    viewType: 'manager',
    userHasInfoCard: '{{ user_has_info_card }}',
    hideInfocardUrl: '/opigno-group-manager/hide-info-card',
    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',
    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_opigno_module: '{{ "Opigno module"|t|e }}',
    text_course: '{{ "Course"|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_create_a_new: '{{ "Create a new"|t|e }}',
    text_or_add_from_existing_catalogue: '{{ "Or add from the existing catalog"|t|e }}',
    text_minimum_score_to_validate_step: '{{ "Minimum score to validate step"|t|e }}',
    bt_add_a_link: '{{ "add a link"|t|e }}',
    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 }}',
    manageableEntities: ['ContentTypeCourse'],
    nextLink: '{{ next_link }}',
    text_search: '{{ "Search"|t|e }}',
    text_score_2: '{{ "Score"|t|e }}',
    text_answer_at_last_step: '{{ "Answer at last step"|t|e }}',
    text_before_need_to_add: '{{ "Before need to add an"|t|e }}',
    text_activities: '{{ "Activity"|t|e }}',
    text_tree_view: '{{ "Tree view"|t|e }}',
  };
</script>

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

File

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