From c7bd0ea802b7a566d4e3e0648292781abbf8fa55 Mon Sep 17 00:00:00 2001
From: daiao <358551898@qq.com>
Date: Wed, 26 Oct 2016 19:09:16 +0800
Subject: [PATCH] =?UTF-8?q?=E9=99=A4=E5=8E=BB=E6=96=B0=E5=BB=BA=E9=A1=B9?=
=?UTF-8?q?=E7=9B=AE=E7=AC=AC=E4=BA=8C=E6=A0=8F=EF=BC=8C=E9=85=8D=E7=BD=AE?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=8A=E4=BC=A0=E5=9B=BE=E7=89=87=E9=9A=90?=
=?UTF-8?q?=E8=97=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/issues/_form.html.erb | 2 --
app/views/projects/new.html.erb | 10 +++++-----
app/views/projects/settings/_new_edit.html.erb | 6 +++---
app/views/versions/_new_milestone.html.erb | 4 ++--
4 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb
index b55b2f30d..6ce19f222 100644
--- a/app/views/issues/_form.html.erb
+++ b/app/views/issues/_form.html.erb
@@ -89,7 +89,6 @@
<%= @issue.assigned_to.nil? ? "未指派" : "已指派" %>
- <% if @issue.safe_attribute?('fixed_version_id') && @issue.assignable_versions.any? %>
<%= f.select :fixed_version_id, version_options_for_select(@issue.assignable_versions, @issue.fixed_version),
{:include_blank => true, :required => @issue.required_attribute?('fixed_version_id'), :no_label => true},
{:onchange => "change_milestone_tip();",:class => "w150"} %>
@@ -100,7 +99,6 @@
:title => l(:label_version_new),
:tabindex => 200) if User.current.allowed_to?(:manage_versions, @issue.project) %>
- <% end %>
<%= @issue.fixed_version.nil? ? "无里程碑" : "已指派里程碑" %>
diff --git a/app/views/projects/new.html.erb b/app/views/projects/new.html.erb
index 95d505d62..ab0d1bc45 100644
--- a/app/views/projects/new.html.erb
+++ b/app/views/projects/new.html.erb
@@ -15,12 +15,12 @@
项目名称不能为空
-
-
- <%= select_tag :project_new_type, options_for_select([["开发模式", "1"], ["研讨模式", "2"], ["圈子模式", "3"]]) %>
- <%=l(:label_type_des_development) %>
+
diff --git a/app/views/projects/settings/_new_edit.html.erb b/app/views/projects/settings/_new_edit.html.erb
index d0534701d..98b268b30 100644
--- a/app/views/projects/settings/_new_edit.html.erb
+++ b/app/views/projects/settings/_new_edit.html.erb
@@ -2,10 +2,10 @@
<%= error_messages_for 'project' %>
<%= labelled_form_for @project do |f| %>
- -
+
-
diff --git a/app/views/versions/_new_milestone.html.erb b/app/views/versions/_new_milestone.html.erb
index 2a7a88511..8021e4f64 100644
--- a/app/views/versions/_new_milestone.html.erb
+++ b/app/views/versions/_new_milestone.html.erb
@@ -22,8 +22,8 @@
-
- <%= f.text_field :effective_date, :size => 10, :readonly => true,:class=>"issues_calendar_input fl", :id => "version_effective_datex", :placeholder=>"结束日期", :style=>"height:28px;", :no_label => true %>
- <%= calendar_for('version_effective_datex') %>
+ <%= f.text_field :effective_date, :size => 10, :readonly => true, :class => "issues_calendar_input fl", :id => "version_effective_date", :placeholder=>"结束日期", :style=>"height:28px;", :no_label => true %>
+ <%= calendar_for('version_effective_date') %>