具体作业的作业信息页,标题不应该出现省略号,因为它已经是最细的详情页面了,必须显示全面

This commit is contained in:
cxt 2017-01-16 16:57:03 +08:00
parent 9ccef85600
commit 39c65fb6ae
1 changed files with 2 additions and 3 deletions

View File

@ -5,11 +5,10 @@
<div class="homepagePostTo break_word mt-4">
<%= link_to homework.user.show_name, user_activities_path(homework.user_id), :class => "newsBlue mr15"%>
</div>
<div class="homepagePostTitle hidden fl m_w505">
<div class="homepagePostTitle break_full_word fl">
<% index = get_hw_index(homework, is_teacher) %>
<%= link_to "<span class='fontBlue2'>作业#{index + 1}</span>".html_safe + homework.name,student_work_index_path(:homework => homework.id),:class => "postGrey"%>
<span class='postGrey fl'><font class="fontBlue2">作业<%= index + 1 %></font><%= homework.name%> <%=get_hw_status(homework).html_safe %></span>
</div>
<%=get_hw_status(homework).html_safe %>
<div class="cl"></div>
<% if homework.homework_type == 3 && homework.homework_detail_group.base_on_project == 1%>
<span class="c_red">系统提示:该作业要求各组长<%=link_to "创建项目", new_project_path(:host=>Setting.host_name),:class=>"linkBlue",:title=>"新建项目",:style=>"text-decoration:underline;"%>,组成员加入项目,然后由组长关联项目。谢谢配合!</span>