修改讨论区邮件中样式和编辑不一致问题

This commit is contained in:
huang 2015-06-05 15:26:14 +08:00
parent a148c49fa9
commit 8adb00fccb
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
</li>
<li style="list-style-type:none; margin:0; padding:0;"><span style="float: left;"><strong><%= l(:mail_issue_content)%></strong></span>
<span style="float: left; width: 526px">
<%= @message.content %>
<%= @message.content.html_safe? %>
</span>
</li>

View File

@ -5,7 +5,7 @@
<li style="list-style-type:none; margin:0; padding:0;"><span style="float: left;"><strong><%= l(:mail_issue_content)%></strong></span>
<span style="float: left; width: 526px">
<p><%= @subject %> </p>
<p style="color: #15BCCF ">点击链接激活账号,系统会依据给出的密码和账号自动登录Trustie平台。</p>
<p style="color: #15BCCF ">点击下面的链接即可激活账号,系统会根据给出的密码和账号自动登录Trustie平台。</p>
<p> <%= link_to @project_url, @project_url%></p>
<p>您的账号为:<%= @email %></p>
<p>密码为: <%= @password %></p>

View File

@ -1,3 +1,3 @@
<p><%= l(:mail_body_wiki_content_added, :id => link_to(h(@wiki_content.page.pretty_title), @wiki_content_url),
:author => h(@wiki_content.author)).html_safe %><br />
<em><%=h @wiki_content.comments %></em></p>
<em><%=h @wiki_content.comments.html_safe? %></em></p>