Changes for page User Mentions

Last modified by Vincent Massol on 2024/02/26 17:57

From version 47.1
edited by Manuel Leduc
on 2020/05/11 17:08
Change comment: There is no comment for this version
To version 47.2
edited by Manuel Leduc
on 2020/05/11 17:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -34,7 +34,7 @@
34 34  
35 35  The default content of the display mention should be the first name + last name of the user. It should be possible to change the content to first name only, or to the login of the user. I don't know if it's a good idea to be able to allow to change the text of the mention for a free text (confusing, risk of link scamming...).
36 36  
37 -Mentions of removed users should still be displayed clearly, eventually identified visually that the user has been removed (which is not easy to identify in the context of AP for instance).
37 +Mentions of removed users should still be displayed clearly, it should possibly be identifiable visually that the user has been removed with a strikethrough on the name (which is not easy to identify in the context of AP for instance).
38 38  
39 39  
40 40  
... ... @@ -342,8 +342,14 @@
342 342  a.mention.group.self {
343 343   background-color: #00ff005e;
344 344  }
345 +
346 +a.mention.removed {
347 + text-decoration: line-through;
348 +}
345 345  {{/code}}
346 346  
351 +== ==
352 +
347 347  == Mention creation ==
348 348  
349 349  Mentions are identified by listening to XWiki existing events. The event listed below are listened using a class implementing org.xwiki.observation.AbstractEventListener.

Get Connected