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

View File

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

View File

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

View File

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

View File

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

View File

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