diff --git a/app/models/tiding.rb b/app/models/tiding.rb index 7204abc5..0cc335a5 100644 --- a/app/models/tiding.rb +++ b/app/models/tiding.rb @@ -254,7 +254,7 @@ class Tiding < ActiveRecord::Base elsif self.tiding_type == "Comment" container.present? ? ("评论了你" + (container.parent.present? ? "的回复:" : "发布的项目issue:") + message_content(container.notes)) : "" else - container.present? ? "更新了Issue:#{container.try(:issue).try(:subject)}" : "" + "更新了Issue:#{container.try(:issue).try(:subject)}" end when 'Issue' "指派了Issue给你:" + container.subject diff --git a/app/views/account/_user_update_notice.html.erb b/app/views/account/_user_update_notice.html.erb index ca438f35..0fa17fae 100644 --- a/app/views/account/_user_update_notice.html.erb +++ b/app/views/account/_user_update_notice.html.erb @@ -1,7 +1,7 @@
<%= notice.try(:subject) %>
<%= notice.try(:notes) %>+
<%= notice.try(:notes).try(:rstrip) %>
diff --git a/public/update.html b/public/update.html index 71bd6e1a..2be5462a 100644 --- a/public/update.html +++ b/public/update.html @@ -58,6 +58,6 @@ If you continue to experience problems please contact your Trustie administrator
平台拟于2019年7月22日10:40--2019年7月22号11:00进行全面升级,带来不便,敬请谅解!
-