#1346 修复搜索出的课程、项目、缺陷等描述信息样式显示不正确的BUG

解决方案:修改样式解析函数
This commit is contained in:
sw 2014-10-10 14:51:05 +08:00
parent 2dc5b1f18c
commit 794f607b66
7 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@
<strong><%= l(:label_tags_bid) %>:<%= link_to "#{bid.name}",
:controller => "bids",:action => "show",:id => bid.id %></strong>
<br />
<strong><%= l(:label_tags_bid_description) %>:</strong><%= bid.description %>
<strong><%= l(:label_tags_bid_description) %>:</strong><%= textilizable bid.description %>
<%= bid.updated_on %>
</p>
<div class="line_under"></div>

View File

@ -6,7 +6,7 @@
<strong><%= l(:label_tags_contest) %>:<%= link_to "#{contest.name}",
:controller => "contests",:action => "show_contest",:id => contest.id %></strong>
<br />
<strong><%= l(:label_tags_contest_description) %>:</strong><%= contest.description %>
<strong><%= l(:label_tags_contest_description) %>:</strong><%= textilizable contest.description %>
<%= contest.updated_on %>
</p>
<div class="line_under"></div>

View File

@ -5,7 +5,7 @@
<p class="font_description2">
<strong><%= l(:label_course) %>:<%= link_to "#{course.name}",course_path(course) %></strong>
<br />
<strong><%= l(:label_new_course_description) %>:</strong><%= course.description %>
<strong><%= l(:label_new_course_description) %>:</strong><%= textilizable course.description %>
<%= course.updated_at %>
</p>
<div class="line_under"></div>

View File

@ -5,7 +5,7 @@
<p class="font_description2">
<strong><%= l(:label_tags_issue) %><%= link_to "#{issue.subject}",:controller => "issues",:action => "show",:id => issue.id %></strong>
<br />
<strong><%= l(:label_tags_issue_description) %></strong><%= issue.description %>
<strong><%= l(:label_tags_issue_description) %></strong><%= textilizable issue.description %>
</p>
<div class="line_under"></div>
<% end %>

View File

@ -6,7 +6,7 @@
<p class="font_description2">
<strong><%= l(:label_tags_project_name) %><%= link_to "#{prj.name}",:controller => "open_source_projects",:action => "show",:id => prj.id %></strong>
<br />
<strong><%= l(:label_tags_project_description) %></strong><%= prj.short_description %>
<strong><%= l(:label_tags_project_description) %></strong><%= textilizable prj.short_description %>
</p>
</div>
<div class="line_under"></div>

View File

@ -6,7 +6,7 @@
<p class="font_description2">
<strong><%= l(:label_tags_project_name) %><%= link_to "#{prj.name}",:controller => "projects",:action => "show",:id => prj.id %></strong>
<br />
<strong><%= l(:label_tags_project_description) %></strong><%= prj.description %>
<strong><%= l(:label_tags_project_description) %></strong><%= textilizable prj.description %>
</p>
</div>
<div class="line_under"></div>

View File

@ -41,8 +41,8 @@
:show_flag => @obj_flag}
%>
</div>
</div>
<% end %>