diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 732e4d9af..9f8accdaa 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -27,7 +27,10 @@ }); function remote_function() { - $("#issue_query_form").submit(); + if($.trim($("#issue_create_date_end_show").val()) !="" && Date.parse($.trim($("#issue_create_date_end_show").val())) < Date.parse($.trim($("#issue_create_date_start_show").val()))){ + alert("开始日期不能大于结束日期!"); + } + $("#issue_query_form").submit(); // $.ajax({ // url:'<%#= project_issues_path(@project)%>', // data:{ diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index 6b42dc3d8..3a3740a23 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -25,8 +25,8 @@ <% @versions.each do |version| %>
-

- <%= version_anchor(version)%> +

+ <%= version_anchor(version)%> <%#= link_to_version_show version, :name => version_anchor(version) %> <% if version.completed? %> <%= format_date(version.effective_date) %> diff --git a/config/locales/projects/zh.yml b/config/locales/projects/zh.yml index 98e13a865..8944fad0c 100644 --- a/config/locales/projects/zh.yml +++ b/config/locales/projects/zh.yml @@ -209,7 +209,7 @@ zh: issue_xls_description: 描述 issue_xls_created_at: 创建时间 issue_xls_tracker_id: 类型 - issue_xls_author: 作者 + issue_xls_author: 发布人 issue_xls_assign: 指派给 issue_xls_status: 状态 issue_xls_priority: 优先级