#2363 按天发送邮件相关标题修改
This commit is contained in:
parent
b6652ed5e5
commit
3f9abf170e
|
@ -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"
|
||||
|
|
|
@ -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: 学时
|
||||
|
|
2934
db/schema.rb
2934
db/schema.rb
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue