From 7efa4b0d29c0b27ec691bf1de564fd35792ad341 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 11 Jul 2016 17:12:12 +0200 Subject: [PATCH] Do not allow karma scores below 0. --- .../javascripts/app/views/karma/index.jst.eco | 2 +- app/models/karma/activity_log.rb | 11 ++++++++--- test/unit/karma_test.rb | 16 ++++++++++++++++ 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/views/karma/index.jst.eco b/app/assets/javascripts/app/views/karma/index.jst.eco index aace3da94..b80ee0c9d 100644 --- a/app/assets/javascripts/app/views/karma/index.jst.eco +++ b/app/assets/javascripts/app/views/karma/index.jst.eco @@ -42,7 +42,7 @@

<%- @T('What affects your Zammad Karma?') %>

-

<%- @T('You accumulate "positive Karma" when you regularly answer and close tickets on time and when you use advanced features such as text modules, ticket reminders or tagging tickets. Zammad Karma will decrease when you have re-opend tickets, escalated tickets or tickets that are two or more days overdue.') %>

+

<%- @T('You |accumulate positive Karma| when you regularly answer and close tickets on time and when you use advanced features such as text modules, ticket reminders or tagging tickets. Zammad |Karma will decrease| when you have re-opend tickets, escalated tickets or tickets that are two or more days overdue.') %>