From 053edb7934bd55827486e31ed6267a9a4447e72a Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Mon, 22 Dec 2014 17:22:22 +0800 Subject: [PATCH] =?UTF-8?q?#1730=20=20=20=E4=BF=AE=E6=94=B9=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B=E4=BD=9C=E4=B8=9A=E4=B8=AD=EF=BC=8C=E5=BD=93=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A=E5=90=8D=E5=AD=97=E8=BF=87=E9=95=BF=E6=97=B6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8D=E8=83=BD=E6=8D=A2=E8=A1=8C=EF=BC=8C=E8=B4=B4?= =?UTF-8?q?=E8=BF=91=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/bids/_bid_homework_show.html.erb | 8 +++++--- app/views/stores/index.html.erb | 12 +++++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/app/views/bids/_bid_homework_show.html.erb b/app/views/bids/_bid_homework_show.html.erb index 7937912e4..a8296165f 100644 --- a/app/views/bids/_bid_homework_show.html.erb +++ b/app/views/bids/_bid_homework_show.html.erb @@ -45,7 +45,7 @@
+ | <%= link_to(bid.author.lastname+bid.author.firstname, user_path(bid.author)) %> @@ -55,6 +55,8 @@ <%= link_to(bid.name, course_for_bid_path(bid), :class => 'bid_path') %> + | +
<% if User.current.logged? && is_cur_course_student(@course) %>
<% cur_user_homework = cur_user_homework_for_bid(bid) %>
@@ -83,8 +85,8 @@
<%end%>
<%= link_to(
- l(:button_edit),
- {:action => 'edit', :controller=>'bids', :course_id =>@course.id, :bid_id => bid.id}
+ l(:button_edit),
+ {:action => 'edit', :controller=>'bids', :course_id =>@course.id, :bid_id => bid.id}
) %>
<%#= link_to(
diff --git a/app/views/stores/index.html.erb b/app/views/stores/index.html.erb
index 6eca2b0bf..e6f795722 100644
--- a/app/views/stores/index.html.erb
+++ b/app/views/stores/index.html.erb
@@ -11,9 +11,15 @@
-
<%=l(:label_attachment)%>
- <%=l(:field_downloads)%>
- <%=l(:button_download)%>
+
+ <%=l(:label_attachment)%>
+
+
+ <%=l(:field_downloads)%>
+
+
+ <%=l(:button_download)%>
+
|