This commit is contained in:
parent
9c192f5a92
commit
1ef5059708
|
@ -61,7 +61,7 @@ module WelcomeHelper
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
logger.error "[WelcomeHelper] ===> #{e}"
|
logger.error "[WelcomeHelper] ===> #{e}"
|
||||||
end
|
end
|
||||||
" ".html_safe << grade.to_s
|
"项目得分:".html_safe << grade.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
def show_user_content event
|
def show_user_content event
|
||||||
|
|
|
@ -183,7 +183,7 @@
|
||||||
<%= link_to( project.name, project_path(project.project_id), :class => "d-g-blue d-p-project-name", :title => "#{project.name}")%>
|
<%= 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> -->
|
<!-- <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),
|
<%= 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 => "项目得分,综合考虑了项目的各项活动,反映了该项目的活跃程度",
|
:title => "项目得分,综合考虑了项目的各项活动,反映了该项目的活跃程度",
|
||||||
:class => "tooltip",
|
:class => "tooltip",
|
||||||
:id => "tooltip-#{project.project_id}" %>
|
:id => "tooltip-#{project.project_id}" %>
|
||||||
|
|
Loading…
Reference in New Issue