You are here

views.view.latest_active_trainings.yml in Opigno Learning path 3.x

Same filename and directory in other branches
  1. 8 config/install/views.view.latest_active_trainings.yml
config/install/views.view.latest_active_trainings.yml

File

config/install/views.view.latest_active_trainings.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - user.role.authenticated
  6. module:
  7. - group
  8. - opigno_learning_path
  9. - user
  10. id: latest_active_trainings
  11. label: 'Latest active trainings'
  12. module: views
  13. description: ''
  14. tag: ''
  15. base_table: opigno_latest_group_activity
  16. base_field: id
  17. display:
  18. default:
  19. display_plugin: default
  20. id: default
  21. display_title: Master
  22. position: 0
  23. display_options:
  24. access:
  25. type: role
  26. options:
  27. role:
  28. authenticated: authenticated
  29. cache:
  30. type: none
  31. options: { }
  32. query:
  33. type: views_query
  34. options:
  35. disable_sql_rewrite: false
  36. distinct: false
  37. replica: false
  38. query_comment: ''
  39. query_tags: { }
  40. exposed_form:
  41. type: basic
  42. options:
  43. submit_button: Apply
  44. reset_button: false
  45. reset_button_label: Reset
  46. exposed_sorts_label: 'Sort by'
  47. expose_sort_order: true
  48. sort_asc_label: Asc
  49. sort_desc_label: Desc
  50. pager:
  51. type: some
  52. options:
  53. items_per_page: 3
  54. offset: 0
  55. style:
  56. type: default
  57. options:
  58. grouping: { }
  59. row_class: last-training__item
  60. default_row_class: true
  61. row:
  62. type: fields
  63. options:
  64. default_field_elements: false
  65. inline: { }
  66. separator: ''
  67. hide_empty: false
  68. fields:
  69. id:
  70. id: id
  71. table: groups_field_data
  72. field: id
  73. relationship: training
  74. group_type: group
  75. admin_label: ''
  76. label: ''
  77. exclude: true
  78. alter:
  79. alter_text: false
  80. text: ''
  81. make_link: false
  82. path: ''
  83. absolute: false
  84. external: false
  85. replace_spaces: false
  86. path_case: none
  87. trim_whitespace: false
  88. alt: ''
  89. rel: ''
  90. link_class: ''
  91. prefix: ''
  92. suffix: ''
  93. target: ''
  94. nl2br: false
  95. max_length: 0
  96. word_boundary: true
  97. ellipsis: true
  98. more_link: false
  99. more_link_text: ''
  100. more_link_path: ''
  101. strip_tags: false
  102. trim: false
  103. preserve_tags: ''
  104. html: false
  105. element_type: ''
  106. element_class: ''
  107. element_label_type: ''
  108. element_label_class: ''
  109. element_label_colon: false
  110. element_wrapper_type: ''
  111. element_wrapper_class: ''
  112. element_default_classes: true
  113. empty: ''
  114. hide_empty: false
  115. empty_zero: false
  116. hide_alter_empty: true
  117. click_sort_column: value
  118. type: number_integer
  119. settings:
  120. thousand_separator: ''
  121. prefix_suffix: false
  122. group_column: value
  123. group_columns:
  124. value: value
  125. group_rows: true
  126. delta_limit: 0
  127. delta_offset: 0
  128. delta_reversed: false
  129. delta_first_last: false
  130. multi_type: separator
  131. separator: ', '
  132. field_api_classes: false
  133. entity_type: group
  134. entity_field: id
  135. plugin_id: field
  136. opigno_lp_progress:
  137. id: opigno_lp_progress
  138. table: groups_field_data
  139. field: opigno_lp_progress
  140. relationship: training
  141. group_type: group
  142. admin_label: ''
  143. label: ''
  144. exclude: true
  145. alter:
  146. alter_text: false
  147. text: ''
  148. make_link: false
  149. path: ''
  150. absolute: false
  151. external: false
  152. replace_spaces: false
  153. path_case: none
  154. trim_whitespace: false
  155. alt: ''
  156. rel: ''
  157. link_class: ''
  158. prefix: ''
  159. suffix: ''
  160. target: ''
  161. nl2br: false
  162. max_length: 0
  163. word_boundary: true
  164. ellipsis: true
  165. more_link: false
  166. more_link_text: ''
  167. more_link_path: ''
  168. strip_tags: false
  169. trim: false
  170. preserve_tags: ''
  171. html: false
  172. element_type: ''
  173. element_class: ''
  174. element_label_type: ''
  175. element_label_class: ''
  176. element_label_colon: false
  177. element_wrapper_type: ''
  178. element_wrapper_class: ''
  179. element_default_classes: true
  180. empty: ''
  181. hide_empty: false
  182. empty_zero: false
  183. hide_alter_empty: true
  184. entity_type: group
  185. plugin_id: opigno_learning_path_progress
  186. label:
  187. id: label
  188. table: groups_field_data
  189. field: label
  190. relationship: training
  191. group_type: group
  192. admin_label: ''
  193. label: ''
  194. exclude: false
  195. alter:
  196. alter_text: true
  197. text: "{{ label }}\r\n{{ opigno_lp_progress }}"
  198. make_link: true
  199. path: '/group/{{ id }}'
  200. absolute: false
  201. external: false
  202. replace_spaces: false
  203. path_case: none
  204. trim_whitespace: false
  205. alt: ''
  206. rel: ''
  207. link_class: btn
  208. prefix: ''
  209. suffix: ''
  210. target: ''
  211. nl2br: false
  212. max_length: 0
  213. word_boundary: true
  214. ellipsis: true
  215. more_link: false
  216. more_link_text: ''
  217. more_link_path: ''
  218. strip_tags: false
  219. trim: false
  220. preserve_tags: ''
  221. html: false
  222. element_type: ''
  223. element_class: ''
  224. element_label_type: ''
  225. element_label_class: ''
  226. element_label_colon: false
  227. element_wrapper_type: ''
  228. element_wrapper_class: ''
  229. element_default_classes: false
  230. empty: ''
  231. hide_empty: false
  232. empty_zero: false
  233. hide_alter_empty: true
  234. click_sort_column: value
  235. type: string
  236. settings:
  237. link_to_entity: false
  238. group_column: value
  239. group_columns: { }
  240. group_rows: true
  241. delta_limit: 0
  242. delta_offset: 0
  243. delta_reversed: false
  244. delta_first_last: false
  245. multi_type: separator
  246. separator: ', '
  247. field_api_classes: false
  248. entity_type: group
  249. entity_field: label
  250. plugin_id: field
  251. filters:
  252. opigno_group_membership:
  253. id: opigno_group_membership
  254. table: groups_field_data
  255. field: opigno_group_membership
  256. relationship: training
  257. group_type: group
  258. admin_label: ''
  259. operator: '='
  260. value: '1'
  261. group: 1
  262. exposed: false
  263. expose:
  264. operator_id: ''
  265. label: ''
  266. description: ''
  267. use_operator: false
  268. operator: ''
  269. identifier: ''
  270. required: false
  271. remember: false
  272. multiple: false
  273. remember_roles:
  274. authenticated: authenticated
  275. operator_limit_selection: false
  276. operator_list: { }
  277. is_grouped: false
  278. group_info:
  279. label: ''
  280. description: ''
  281. identifier: ''
  282. optional: true
  283. widget: select
  284. multiple: false
  285. remember: false
  286. default_group: All
  287. default_group_multiple: { }
  288. group_items: { }
  289. entity_type: group
  290. plugin_id: opigno_group_membership_boolean
  291. sorts:
  292. timestamp:
  293. id: timestamp
  294. table: opigno_latest_group_activity
  295. field: timestamp
  296. relationship: none
  297. group_type: max
  298. admin_label: ''
  299. order: DESC
  300. exposed: false
  301. expose:
  302. label: ''
  303. granularity: second
  304. entity_type: opigno_latest_group_activity
  305. entity_field: timestamp
  306. plugin_id: date
  307. title: 'Latest active trainings'
  308. header: { }
  309. footer: { }
  310. empty: { }
  311. relationships:
  312. training:
  313. id: training
  314. table: opigno_latest_group_activity
  315. field: training
  316. relationship: none
  317. group_type: group
  318. admin_label: Group
  319. required: true
  320. entity_type: opigno_latest_group_activity
  321. entity_field: training
  322. plugin_id: standard
  323. group_content_id:
  324. id: group_content_id
  325. table: groups_field_data
  326. field: group_content_id
  327. relationship: training
  328. group_type: group
  329. admin_label: 'Group content'
  330. required: false
  331. group_content_plugins:
  332. group_membership: group_membership
  333. 'subgroup:learning_path': '0'
  334. 'subgroup:opigno_class': '0'
  335. 'subgroup:opigno_course': '0'
  336. opigno_module_group: '0'
  337. opigno_moxtra_meeting_group: '0'
  338. entity_type: group
  339. plugin_id: group_to_group_content
  340. arguments:
  341. uid:
  342. id: uid
  343. table: opigno_latest_group_activity
  344. field: uid
  345. relationship: none
  346. group_type: group
  347. admin_label: ''
  348. default_action: default
  349. exception:
  350. value: all
  351. title_enable: false
  352. title: All
  353. title_enable: false
  354. title: ''
  355. default_argument_type: current_user
  356. default_argument_options: { }
  357. default_argument_skip_url: false
  358. summary_options:
  359. base_path: ''
  360. count: true
  361. items_per_page: 25
  362. override: false
  363. summary:
  364. sort_order: asc
  365. number_of_records: 0
  366. format: default_summary
  367. specify_validation: false
  368. validate:
  369. type: none
  370. fail: 'not found'
  371. validate_options: { }
  372. break_phrase: false
  373. not: false
  374. entity_type: opigno_latest_group_activity
  375. entity_field: uid
  376. plugin_id: numeric
  377. display_extenders: { }
  378. group_by: true
  379. css_class: 'content-box last-training d-md-none d-xl-block'
  380. cache_metadata:
  381. max-age: -1
  382. contexts:
  383. - 'languages:language_content'
  384. - 'languages:language_interface'
  385. - url
  386. - user
  387. - user.roles
  388. tags: { }
  389. block:
  390. display_plugin: block
  391. id: block
  392. display_title: Block
  393. position: 1
  394. display_options:
  395. display_extenders: { }
  396. allow:
  397. items_per_page: false
  398. cache_metadata:
  399. max-age: -1
  400. contexts:
  401. - 'languages:language_content'
  402. - 'languages:language_interface'
  403. - url
  404. - user
  405. - user.roles
  406. tags: { }