diff --git a/management/commands/get_email.py b/management/commands/get_email.py index 281e6ae2..b1dd527d 100644 --- a/management/commands/get_email.py +++ b/management/commands/get_email.py @@ -122,7 +122,7 @@ def ticket_from_message(message, queue): message = email.message_from_string(msg) subject = message.get('subject', _('Created from e-mail')) subject = decodeUnknown(message.get_charset(), subject) - subject = subject.replace("Re: ", "").replace("Fw: ", "").strip() + subject = subject.replace("Re: ", "").replace("Fw: ", "").replace("RE: ", "").replace("FW: ", "").strip() sender = message.get('from', _('Unknown Sender')) sender = decodeUnknown(message.get_charset(), sender) diff --git a/templates/helpdesk/dashboard.html b/templates/helpdesk/dashboard.html index 278f00ba..0e80f74d 100644 --- a/templates/helpdesk/dashboard.html +++ b/templates/helpdesk/dashboard.html @@ -34,7 +34,7 @@ {{ ticket.modified|timesince }} {% endfor %} -{% if not unassigned_tickets %} +{% if not user_tickets %} {% trans "You have no tickets assigned to you." %} {% endif %}