1,解决git中英文500错误

2.解决编辑器输入样式邮件显示异常问题
This commit is contained in:
huang 2015-06-26 17:07:31 +08:00
parent 801cddecfe
commit 65ee86bb45
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#added by baiyu
class GitUsageController < ApplicationController
layout "base_projects"
layout "new_base"
def ch_usage
end

View File

@ -49,7 +49,7 @@
:style => "color:#2E8DD7; float:left;display:block; margin-right:5px; margin-left:5px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;"%>
<span class="wmail_txt" style="float:left; margin-right:5px;color:#ACAEB1;"><%= l(:label_project_notice_reply) %></span>
<%= link_to truncate(course_news_comment.comments.html_safe,length: 30,omission: '...'), news_url(course_news_comment.commented,:token => @token.value),
<%= link_to truncate(l(:label_course_notice_point),length: 30,omission: '...'), news_url(course_news_comment.commented,:token => @token.value),
:class => 'wmail_info',
:style => "color:#2E8DD7;float:left; font-weight:normal;margin-right:5px; display:block;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;"
%>
@ -342,7 +342,7 @@
:style => "color:#2E8DD7; float:left;display:block; margin-right:5px; margin-left:5px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;"%>
<span class="wmail_txt" style="float:left; margin-right:5px;color:#ACAEB1;"><%= l(:lable_project_mail_notice_reply) %></span>
<%= link_to truncate(project_news_comment.comments.html_safe,length: 30,omission: '...'), news_url(project_news_comment.commented,:token => @token.value),
<%= link_to truncate(l(:lable_project_notice_point),length: 30,omission: '...'), news_url(project_news_comment.commented,:token => @token.value),
:class => 'wmail_info',
:style => "color:#2E8DD7;float:left; font-weight:normal;margin-right:5px; display:block;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;" %>
<span class="wmail_date" style="color:#6e6e6e; float:left;display:block; margin-left:40px;"><%= format_time(project_news_comment.created_on) %></span>

View File

@ -784,6 +784,8 @@ zh:
label_project_newshare: "分享了"
label_project_notice: "发布了通知:"
label_project_notice_reply: "回复了通知:"
label_course_notice_point: "通知有了新的回复!"
lable_project_notice_point: "新闻有了新的回复!"
label_project_mail_notice: "发布了新闻:"
lable_project_mail_notice_reply: "回复了新闻:"
label_project_issue: "发布了问题:"