This commit is contained in:
nieguanghui 2013-12-04 16:01:20 +08:00
parent 9c192f5a92
commit 1ef5059708
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ module WelcomeHelper
rescue Exception => e
logger.error "[WelcomeHelper] ===> #{e}"
end
"&nbsp;&nbsp;&nbsp;&nbsp;".html_safe << grade.to_s
"项目得分:".html_safe << grade.to_s
end
def show_user_content event

View File

@ -183,7 +183,7 @@
<%= link_to( project.name, project_path(project.project_id), :class => "d-g-blue d-p-project-name", :title => "#{project.name}")%>
<!-- <span style="cursor: help; display: inline-block; float: right; color: #ec6300; background: url('/images/score.png') no-repeat scroll ;background-position: left center;" title="项目得分,综合考虑了项目的各项活动,反映了该项目的活跃程度" class="tooltip-#{project.project_id}"><%= show_grade project %></span> -->
<%= content_tag "span", show_grade(project),
:style => "cursor: help; display: inline-block; float: right; color: #ec6300; background: url('/images/score.png') no-repeat scroll ;background-position: left center;",
:style => "cursor: help; display: inline-block; float: right; color: #ec6300; ",
:title => "项目得分,综合考虑了项目的各项活动,反映了该项目的活跃程度",
:class => "tooltip",
:id => "tooltip-#{project.project_id}" %>