From 78c2f40b8ab21041319d904178d81e90100a302c Mon Sep 17 00:00:00 2001
From: yanxd
Date: Thu, 13 Mar 2014 15:33:12 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=96=87=E5=AD=97=20?=
=?UTF-8?q?=E6=96=87=E4=BB=B6=E5=88=97=E8=A1=A8=20=E6=A0=87=E7=AD=BE?=
=?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=90=8E=E5=88=A0=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/bids/_bid_homework_show.html.erb | 3 ++-
app/views/files/index.html.erb | 2 +-
app/views/my/account.html.erb | 2 +-
app/views/users/tag_save.js.erb | 3 +--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/app/views/bids/_bid_homework_show.html.erb b/app/views/bids/_bid_homework_show.html.erb
index 0a8c6ab2..10177929 100644
--- a/app/views/bids/_bid_homework_show.html.erb
+++ b/app/views/bids/_bid_homework_show.html.erb
@@ -1,6 +1,7 @@
<% if bids.blank? %>
-<%= l(:label_uncommit_homework) %>
+<%#= l(:label_uncommit_homework) %>
+暂无作业!
<% else %>
<% bids.each do |bid|%>
diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb
index a0ee754f..ffd447ac 100644
--- a/app/views/files/index.html.erb
+++ b/app/views/files/index.html.erb
@@ -137,7 +137,7 @@ div.pagination{
attachments_autocomplete_path(:format => 'js'),
:remote => true,
:method => :post) do %>
- <%= label_tag(:attach_search, "按文件名搜索:") %>
+ <%= label_tag(:attach_search, "按关键字搜索:") %>
<%= text_field_tag(:attach_search) %>
<%#= submit_tag("Search") %>
<% end -%>
diff --git a/app/views/my/account.html.erb b/app/views/my/account.html.erb
index ca392ead..646d6246 100644
--- a/app/views/my/account.html.erb
+++ b/app/views/my/account.html.erb
@@ -30,7 +30,7 @@
<%= f.text_field :firstname, :required => true %>
- <%= f.text_field :lastname, :required => true %>
+ <%#= f.text_field :lastname, :required => true %>
diff --git a/app/views/users/tag_save.js.erb b/app/views/users/tag_save.js.erb
index a7ae1176..7e1a5938 100644
--- a/app/views/users/tag_save.js.erb
+++ b/app/views/users/tag_save.js.erb
@@ -14,8 +14,7 @@ $('#name-issue').val("");
$('#tags_show').html('<%= escape_javascript(render :partial => 'tags/tag_name',
:locals => {:obj => @obj,:non_list_all => false,:object_flag => @obj_flag}) %>');
+$('#put-tag-form #name').val("");
$('#put-tag-form').hide();
-$('#name').val("");
-
<% end %>