From 93cf24cf41d20a48aa9d1717d85bb6c1bb2fa1e7 Mon Sep 17 00:00:00 2001 From: cxt Date: Mon, 12 Dec 2016 15:57:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=B6=88=E6=81=AF=E6=8F=90?= =?UTF-8?q?=E9=86=92=E3=80=81=E6=B6=88=E6=81=AF=E5=8A=A8=E6=80=81=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_user_message_course.html.erb | 8 +- app/views/users/_user_message_forge.html.erb | 8 +- app/views/users/show.html.erb | 89 ++++++++++++++----- public/stylesheets/css/structure.css | 5 +- 4 files changed, 79 insertions(+), 31 deletions(-) diff --git a/app/views/users/_user_message_course.html.erb b/app/views/users/_user_message_course.html.erb index 189389444..eb42ccc9f 100644 --- a/app/views/users/_user_message_course.html.erb +++ b/app/views/users/_user_message_course.html.erb @@ -148,8 +148,8 @@ <% end %> -
  •    截止时间快到啦
  • <%= time_tag(ma.created_at).html_safe %>
  • +
  • 截止时间快到啦
  • <% end %> @@ -535,8 +535,8 @@

    如需获得最终成绩,请您联系主讲老师对您的作品进行单独评分!

    -
  •   您成功提交了作品(但被标记为迟交啦)
  • -
  • <%= time_tag(ma.created_at).html_safe %>
  • +
  • <%= time_tag(ma.created_at).html_safe %>
  • +
  • 迟交作品
  • <% end %> @@ -827,8 +827,8 @@

    请及时完成班级测验,辛苦啦!

    -
  • 截止时间快到啦
  • <%= time_tag(ma.created_at).html_safe %>
  • +
  • 截止时间快到啦
  • <% end %> <% end %> \ No newline at end of file diff --git a/app/views/users/_user_message_forge.html.erb b/app/views/users/_user_message_forge.html.erb index b3e058a82..66f7884ba 100644 --- a/app/views/users/_user_message_forge.html.erb +++ b/app/views/users/_user_message_forge.html.erb @@ -82,14 +82,14 @@ <% unless User.current.member_of?(ma.project) %> -
  • +
  • <%=link_to "同意加入", {:controller => 'projects', :action => 'member', :id => ma.project_id, :message_id =>ma.id, :key => ma.secret_key}, :value => ma.secret_key, :class => "green_btn_cir ml10", :style => "color:#fff", :target => '_blank' %>
  • <% end %> -
  • <%= time_tag(ma.created_at).html_safe %>
  • +
  • <%= time_tag(ma.created_at).html_safe %>
  • <% end %> <% if ma.forge_message_type == "Issue" %> @@ -112,8 +112,8 @@ -
  •    截止时间快到了!
  • -
  • <%= time_tag(ma.created_at).html_safe %>
  • +
  • <%= time_tag(ma.created_at).html_safe %>
  • +
  • 截止时间快到啦
  • <% else %>