views.view.who_s_online.yml 6.0 KB

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