diff --git a/app/views/student_work/_work_information.html.erb b/app/views/student_work/_work_information.html.erb index 1ced6c84c..f9da89c11 100644 --- a/app/views/student_work/_work_information.html.erb +++ b/app/views/student_work/_work_information.html.erb @@ -1,44 +1,44 @@ -
-
- 请您确认刚刚上传的作品信息 -

- 作品名称:<%=@student_work.name%> -

-
-
作品描述:
-
<%=@student_work.description.html_safe %>
-
-
-

- 件: - <% if @student_work.attachments.empty? %> - <%= "无附件"%> - <% else %> -

- <% @student_work.attachments.each_with_index do |attachment,i| %> -
- <%= link_to_short_attachment attachment, :class => 'link_file_a fl', :download => true -%> - <%= link_to(' '.html_safe, attachment_path(attachment, :format => 'js'), :method => 'delete', :remote => true, :title => '删除', :class => 'remove-upload fl', :confirm => l(:text_are_you_sure)) %> - (<%= number_to_human_size attachment.filesize %>) -
-
- <% end -%> - <%#= render :partial => 'work_attachments_status', :locals => {:attachments => @student_work.attachments, :status => 2} %> -
- <% end %> -

-
-
- - 确 定 - - <%= link_to("重 试", retry_work_student_work_path(@student_work.id),:class => "tijiao",:style =>"margin-bottom: 15px;margin-top:15px;",:remote => true)%> -
-
-
- - \ No newline at end of file diff --git a/public/stylesheets/css/courses.css b/public/stylesheets/css/courses.css index 163f33338..7d0e6c866 100644 --- a/public/stylesheets/css/courses.css +++ b/public/stylesheets/css/courses.css @@ -536,4 +536,7 @@ a:hover.blueCir{ background:#3598db; color:#fff;} /*20160520作品列表table*/ .hwork-table-wrap {width:720px; border-collapse:collapse; vertical-align:middle; table-layout:fixed;} -.hwork-table-wrap th {font-size:14px; color:#2d2d2d; border-bottom:1px solid #e1e1e1; text-align:center;} \ No newline at end of file +.hwork-table-wrap th {font-size:14px; color:#2d2d2d; border-bottom:1px solid #e1e1e1; text-align:center;} + +/*20160901作品信息确认*/ +#worksDescription p {word-wrap:break-word;} \ No newline at end of file