From 189c4e2e998cc44332e7af1c5b0ca4c29900eb02 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Fri, 13 Nov 2015 16:20:07 +0100 Subject: [PATCH 1/3] chat: default name Anonymous instead of anonymous --- lib/sessions/event/chat_session_close.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sessions/event/chat_session_close.rb b/lib/sessions/event/chat_session_close.rb index d0f0005ad..22b2e02a3 100644 --- a/lib/sessions/event/chat_session_close.rb +++ b/lib/sessions/event/chat_session_close.rb @@ -21,7 +21,7 @@ class Sessions::Event::ChatSessionClose < Sessions::Event::ChatBase } end - realname = 'anonymous' + realname = 'Anonymous' if @session && @session['id'] realname = User.find(@session['id']).fullname end From 9ba4dcfc419a699d8e54b02a9b3eecc6487296c1 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Fri, 13 Nov 2015 16:20:25 +0100 Subject: [PATCH 2/3] chat: fatter new chat font-weight --- app/assets/stylesheets/zammad.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index 880c04aa0..c94330b18 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -7255,7 +7255,7 @@ output { } .chat-message--customer.chat-message--new { - font-weight: 500; + font-weight: bold; } .chat-message--agent { From 3b4854cfff18c76c80755f6b536a0fd8527546e2 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Fri, 13 Nov 2015 16:20:44 +0100 Subject: [PATCH 3/3] chat: make statusMessage realname fat --- app/assets/javascripts/app/controllers/chat.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/chat.coffee b/app/assets/javascripts/app/controllers/chat.coffee index 20ddf59bb..a26cbd98f 100644 --- a/app/assets/javascripts/app/controllers/chat.coffee +++ b/app/assets/javascripts/app/controllers/chat.coffee @@ -215,7 +215,7 @@ class chatWindow extends App.Controller (data) => return if data.session_id isnt @session.session_id return if data.self_written - @addStatusMessage("#{data.realname} was leaving the conversation") + @addStatusMessage("#{data.realname} has left the conversation") @goOffline() )