File tree Expand file tree Collapse file tree 3 files changed +24
-4
lines changed
core-configuration/src/main/config/resources/StringTemplates/core/directory Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 56
56
$else$
57
57
< a href= " #" rel= " $user.id$,$user.firstName$ $user.lastName$" class= " link invitation" > Schicken Sie eine Einladung< /a>
58
58
$endif$
59
- < a href= " #" onclick= " sp.messager.open(null, {recipientUsers: $user.id$, recipientEdition: false});" class= " link notification" > Senden Sie eine Nachricht< /a>
59
+ $if(chatEnabled)$
60
+ < a href= " #" class= " link notification" title= " Diskutieren mit $user.firstName$" onclick= " javascript:SilverChat.gui.openChatWindow('$user.chatId$', '$user.displayedName$')" >
61
+ Diskutieren mit $user.firstName$
62
+ < /a>
63
+ $else$
64
+ < a href= " #" onclick= " sp.messager.open(null, {recipientUsers: $user.id$, recipientEdition: false});" class= " link notification" > Senden Sie eine Nachricht< /a>
65
+ $endif$
60
66
$endif$
61
67
< /div>
Original file line number Diff line number Diff line change 56
56
$else$
57
57
< a href= " #" rel= " $user.id$,$user.firstName$ $user.lastName$" class= " link invitation" > Send an invitation< /a>
58
58
$endif$
59
- < a href= " #" onclick= " sp.messager.open(null, {recipientUsers: $user.id$, recipientEdition: false});" class= " link notification" > Send a message< /a>
59
+
60
+ $if(chatEnabled)$
61
+ < a href= " #" class= " link notification" title= " Chat with $user.firstName$" onclick= " javascript:SilverChat.gui.openChatWindow('$user.chatId$', '$user.displayedName$')" >
62
+ Chat with $user.firstName$
63
+ < /a>
64
+ $else$
65
+ < a href= " #" onclick= " sp.messager.open(null, {recipientUsers: $user.id$, recipientEdition: false});" class= " link notification" > Send a message< /a>
66
+ $endif$
67
+
60
68
$endif$
61
69
< /div>
Original file line number Diff line number Diff line change 56
56
$else$
57
57
< a href= " #" rel= " $user.id$,$user.firstName$ $user.lastName$" class= " link invitation" > Envoyer une invitation< /a>
58
58
$endif$
59
- < a href= " #" onclick= " sp.messager.open(null, {recipientUsers: $user.id$, recipientEdition: false});" class= " link notification" > Envoyer un message< /a>
59
+ $if(chatEnabled)$
60
+ < a href= " #" class= " link notification" title= " Discuter avec à $user.firstName$" onclick= " javascript:SilverChat.gui.openChatWindow('$user.chatId$', '$user.displayedName$')" >
61
+ Discuter avec $user.firstName$
62
+ < /a>
63
+ $else$
64
+ < a href= " #" onclick= " sp.messager.open(null, {recipientUsers: $user.id$, recipientEdition: false});" class= " link notification" > Envoyer un message< /a>
65
+ $endif$
60
66
$endif$
61
- < /div>
67
+ < /div>
You can’t perform that action at this time.
0 commit comments