From f8951c004468248f25e713778ce388228b5b21d4 Mon Sep 17 00:00:00 2001
From: lizanle <491823689@qq.com>
Date: Fri, 17 Apr 2015 12:55:07 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/projects/settings/_new_versions.html.erb | 14 +++++++-------
app/views/versions/_form.html.erb | 12 ++++++------
app/views/versions/edit.html.erb | 2 +-
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/app/views/projects/settings/_new_versions.html.erb b/app/views/projects/settings/_new_versions.html.erb
index 6365354c3..ffc301cf5 100644
--- a/app/views/projects/settings/_new_versions.html.erb
+++ b/app/views/projects/settings/_new_versions.html.erb
@@ -57,32 +57,32 @@
-
-
+
<%= f.text_field :name, :maxlength => 60, :required => true %>
-
-
+
<%= f.text_field :description, :maxlength => 60 %>
-
-
+
<%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]} %>
-
-
+
<%= f.text_field :wiki_page_title, :size =>60, :label => :label_wiki_page, :disabled => @project.wiki.nil? %>
-
-
+
<%= f.text_field :effective_date, :size => 10, :readonly => true,:class=>" fl" %>
<%= calendar_for('version_effective_date') %>
-
-
+
<%= f.select :sharing, @project.versions.build.allowed_sharings.collect {|v| [format_version_sharing(v), v]} %>
- 保存
+ <%=l(:button_save)%>
diff --git a/app/views/versions/_form.html.erb b/app/views/versions/_form.html.erb
index d9a02b8f1..f0ed7c84f 100644
--- a/app/views/versions/_form.html.erb
+++ b/app/views/versions/_form.html.erb
@@ -3,29 +3,29 @@
-
-
+
<%= f.text_field :name, :maxlength => 60,:class=>" w280", :label => ""%>
-
-
+
<%= f.text_field :description, :maxlength => 60,:class=>" w280", :label => "" %>
-
-
+
<%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]}, :label => "" %>
-
-
+
<%= f.text_field :wiki_page_title, :size =>60, :label => "", :disabled => @project.wiki.nil? %>
-
-
+
<%= f.text_field :effective_date, :size => 10, :readonly => true,:class=>"fl" ,:style=>"margin-left:7px;",:label=>""%>
<%= calendar_for('version_effective_date') %>
-
-
+
<%= f.select :sharing, @version.allowed_sharings.collect {|v| [format_version_sharing(v), v]},:label=>"" %>
diff --git a/app/views/versions/edit.html.erb b/app/views/versions/edit.html.erb
index c249572aa..7f6fe3658 100644
--- a/app/views/versions/edit.html.erb
+++ b/app/views/versions/edit.html.erb
@@ -2,6 +2,6 @@
<%= labelled_form_for @version,:html=>{:id=>"new_project_version_form"} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
-
保存
+
<%=l(:button_save)%>
<% end %>