修改《竞赛主页显示错误》

Signed-off-by: alan <547533434@qq.com>
This commit is contained in:
alan 2015-01-10 10:37:32 +08:00
parent 725866a23d
commit 6c9f5136c0
2 changed files with 4 additions and 4 deletions

View File

@ -79,7 +79,7 @@
<td> <td>
<%=link_to l(:field_homepage), home_path %> > <%=link_to l(:field_homepage), home_path %> >
<a href="http://<%= Setting.host_contest %>" class="link_other_item"> <a href="http://<%= Setting.host_contest %>" class="link_other_item">
<%=l(:label_courses_management_platform)%> <%=l(:label_contests_management_platform)%>
</a> > </a> >
<span title="<%= @contest.name%>"> <span title="<%= @contest.name%>">
<%= link_to h(truncate(@contest.name, length: 20, omission: '...')), show_contest_contest_path(@contest) %> <%= link_to h(truncate(@contest.name, length: 20, omission: '...')), show_contest_contest_path(@contest) %>