views.view.who_s_online.yml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. uuid: e8716d03-507d-4b45-9525-1f807bdc2239
  2. langcode: fr
  3. status: true
  4. dependencies:
  5. module:
  6. - user
  7. _core:
  8. default_config_hash: 8zIH459c-C6lTDCR86rQb-A8BJNHtdt2U9JYBxoLokk
  9. id: who_s_online
  10. label: 'Bloc "Qui est connecté"'
  11. module: user
  12. description: "Affiche les noms des utilisateurs les plus actifs récemment et le nombre total d'utilisateurs actifs."
  13. tag: default
  14. base_table: users_field_data
  15. base_field: uid
  16. display:
  17. default:
  18. id: default
  19. display_title: 'Par défaut'
  20. display_plugin: default
  21. position: 0
  22. display_options:
  23. title: 'Utilisateurs en ligne'
  24. fields:
  25. name:
  26. id: name
  27. table: users_field_data
  28. field: name
  29. relationship: none
  30. group_type: group
  31. admin_label: ''
  32. entity_type: user
  33. entity_field: name
  34. plugin_id: field
  35. label: ''
  36. exclude: false
  37. alter:
  38. alter_text: false
  39. make_link: false
  40. absolute: false
  41. word_boundary: false
  42. ellipsis: false
  43. strip_tags: false
  44. trim: false
  45. html: false
  46. element_type: ''
  47. element_class: ''
  48. element_label_type: ''
  49. element_label_class: ''
  50. element_label_colon: true
  51. element_wrapper_type: ''
  52. element_wrapper_class: ''
  53. element_default_classes: true
  54. empty: ''
  55. hide_empty: false
  56. empty_zero: false
  57. hide_alter_empty: true
  58. type: user_name
  59. pager:
  60. type: some
  61. options:
  62. offset: 0
  63. items_per_page: 10
  64. exposed_form:
  65. type: basic
  66. options:
  67. submit_button: Appliquer
  68. reset_button: false
  69. reset_button_label: Réinitialiser
  70. exposed_sorts_label: 'Trier par'
  71. expose_sort_order: true
  72. sort_asc_label: Asc
  73. sort_desc_label: Desc
  74. access:
  75. type: perm
  76. options:
  77. perm: 'access user profiles'
  78. cache:
  79. type: tag
  80. options: { }
  81. empty:
  82. area_text_custom:
  83. id: area_text_custom
  84. table: views
  85. field: area_text_custom
  86. relationship: none
  87. group_type: group
  88. admin_label: ''
  89. plugin_id: text_custom
  90. empty: true
  91. content: 'Il y a actuellement 0 utilisateurs en ligne.'
  92. tokenize: false
  93. sorts:
  94. access:
  95. id: access
  96. table: users_field_data
  97. field: access
  98. relationship: none
  99. group_type: group
  100. admin_label: ''
  101. entity_type: user
  102. entity_field: access
  103. plugin_id: date
  104. order: DESC
  105. expose:
  106. label: ''
  107. field_identifier: access
  108. exposed: false
  109. granularity: second
  110. arguments: { }
  111. filters:
  112. status:
  113. id: status
  114. table: users_field_data
  115. field: status
  116. entity_type: user
  117. entity_field: status
  118. plugin_id: boolean
  119. value: '1'
  120. group: 1
  121. expose:
  122. operator: '0'
  123. operator_limit_selection: false
  124. operator_list: { }
  125. access:
  126. id: access
  127. table: users_field_data
  128. field: access
  129. relationship: none
  130. group_type: group
  131. admin_label: ''
  132. entity_type: user
  133. entity_field: access
  134. plugin_id: date
  135. operator: '>='
  136. value:
  137. min: ''
  138. max: ''
  139. value: '-15 minutes'
  140. type: offset
  141. group: 1
  142. exposed: false
  143. expose:
  144. operator_id: access_op
  145. label: 'Dernier accès'
  146. description: "Durée pendant laquelle on considère qu'un utilisateur est en ligne après qu'il ait vu une page pour la dernière fois."
  147. use_operator: false
  148. operator: access_op
  149. operator_limit_selection: false
  150. operator_list: { }
  151. identifier: access
  152. required: false
  153. remember: false
  154. multiple: false
  155. remember_roles:
  156. authenticated: authenticated
  157. anonymous: '0'
  158. administrator: '0'
  159. is_grouped: false
  160. group_info:
  161. label: ''
  162. description: ''
  163. identifier: ''
  164. optional: true
  165. widget: select
  166. multiple: false
  167. remember: false
  168. default_group: All
  169. default_group_multiple: { }
  170. group_items: { }
  171. style:
  172. type: html_list
  173. options:
  174. grouping: { }
  175. row_class: ''
  176. default_row_class: true
  177. type: ul
  178. wrapper_class: item-list
  179. class: ''
  180. row:
  181. type: fields
  182. query:
  183. type: views_query
  184. options:
  185. query_comment: ''
  186. disable_sql_rewrite: false
  187. distinct: false
  188. replica: false
  189. query_tags: { }
  190. relationships: { }
  191. header:
  192. result:
  193. id: result
  194. table: views
  195. field: result
  196. relationship: none
  197. group_type: group
  198. admin_label: ''
  199. plugin_id: result
  200. empty: false
  201. content: 'Il y a actuellement @total utilisateurs en ligne.'
  202. footer: { }
  203. display_extenders: { }
  204. cache_metadata:
  205. max-age: -1
  206. contexts:
  207. - 'languages:language_content'
  208. - 'languages:language_interface'
  209. - user.permissions
  210. tags: { }
  211. who_s_online_block:
  212. id: who_s_online_block
  213. display_title: 'Utilisateurs en ligne'
  214. display_plugin: block
  215. position: 1
  216. display_options:
  217. display_description: "Une liste d'utilisateurs actuellement connectés."
  218. display_extenders: { }
  219. block_description: 'Utilisateurs en ligne'
  220. cache_metadata:
  221. max-age: -1
  222. contexts:
  223. - 'languages:language_content'
  224. - 'languages:language_interface'
  225. - user.permissions
  226. tags: { }