@ -254,7 +254,7 @@ class Tiding < ActiveRecord::Base
elsif self.tiding_type == "Comment"
container.present? ? ("评论了你" + (container.parent.present? ? "的回复:" : "发布的项目issue:") + message_content(container.notes)) : ""
else
"更新了Issue:#{container.issue.subject}"
"更新了Issue:#{container.try(:issue).try(:subject)}"
end
when 'Issue'
"指派了Issue给你:" + container.subject
@ -58,6 +58,6 @@ If you continue to experience problems please contact your Trustie administrator
<p class="font-18">
平台拟于<span style="color: red">2019年4月27日17:00--18:30</span>进行全面升级,带来不便,敬请谅解!
</p>
</div>
</div>user_tidings.html.erb
</body>
</html>