修改base_project中代码错误

This commit is contained in:
sw 2015-03-09 15:32:55 +08:00
parent d1912865d3
commit 81b58e5c87
2 changed files with 6 additions and 6 deletions

View File

@ -39,8 +39,7 @@
var name = $.trim($("#name").val()); var name = $.trim($("#name").val());
if(name.length == 0) if(name.length == 0)
{ {
$("#project_name_span").text("<%= l(:label_search_conditions_not_null) %> $("#project_name_span").text("<%= l(:label_search_conditions_not_null) %>");
");
$("#project_name_span").css('color','#ff0000'); $("#project_name_span").css('color','#ff0000');
$("#project_name_span").focus(); $("#project_name_span").focus();
return false; return false;
@ -103,9 +102,10 @@
</div> </div>
<!-- 项目得分 --> <!-- 项目得分 -->
<div class="cl"></div> <div class="cl"></div>
<div class="pr_info_name><%= link_to @project.name, project_path(@project) %> <div class="pr_info_name">
<%= link_to @project.name, project_path(@project) %>
<% if !@project.is_public? %> <% if !@project.is_public? %>
<span class="img_private ">私有</span> <span class="img_private">私有</span>
<% end %> <% end %>
</div> </div>
<div class="cl"></div> <div class="cl"></div>

View File

@ -696,8 +696,8 @@ zh:
label_limit_time: 截止日期 label_limit_time: 截止日期
label_commit_homework: 提交作业 label_commit_homework: 提交作业
label_course_homework: 对应课程 label_course_homework: 对应课程
label_course_doing: 进行中的课程 label_course_doing: 进行中
label_course_done: 已结束的课程 label_course_done: 已结束
label_homework_response: 作业咨询 label_homework_response: 作业咨询
label_bidding_homework: 提交作业 label_bidding_homework: 提交作业
label_add_homework: 添加作业 label_add_homework: 添加作业