#2363 按天发送邮件相关标题修改

This commit is contained in:
guange 2015-04-23 08:49:14 +08:00
parent d66af82478
commit aaab6f67fb
3 changed files with 1470 additions and 1470 deletions

View File

@ -64,8 +64,8 @@ class Mailer < ActionMailer::Base
def send_for_user_activities(user, date_to, days)
date_from = date_to - days.days
subject = "[ #{user.show_name} : #{l(:label_day_mail)}]"
@subject = " #{user.show_name} : #{date_to} #{l(:label_day_mail)}"
subject = "[ #{user.show_name}#{l(:label_day_mail)}]"
@subject = " #{user.show_name}#{l(:label_day_mail)}"
date_from = "#{date_from} 17:59:59"
date_to = "#{date_to} 17:59:59"

View File

@ -80,7 +80,7 @@ zh:
field_enterprise_name: 组织
label_week_mail: 一周动态
label_day_mail: 今日动态
label_day_mail: 您好Trustie平台上与您相关的今日动态
#added by huang
field_tea_name: 教师
field_couurse_time: 学时