修改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());
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").focus();
return false;
@ -103,7 +102,8 @@
</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? %>
<span class="img_private">私有</span>
<% end %>

View File

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