From 08f625446e478d635109def1232a790c60319ac1 Mon Sep 17 00:00:00 2001 From: z9hang Date: Tue, 10 Mar 2015 10:18:56 +0800 Subject: [PATCH] =?UTF-8?q?app=E7=89=88=E6=9C=AC=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=96=B0=E5=BB=BA=E7=89=88=E6=9C=AC=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/admin/mobile_version.html.erb | 14 +++++++++++--- config/locales/zh.yml | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/app/views/admin/mobile_version.html.erb b/app/views/admin/mobile_version.html.erb index 293b0ec46..5ea340245 100644 --- a/app/views/admin/mobile_version.html.erb +++ b/app/views/admin/mobile_version.html.erb @@ -1,9 +1,17 @@

<%= l(:label_mobile_version) %>

发布新版本
- + <%= form_tag(:controller => 'admin', :action => 'create_version') do %> +

+ + <%= text_field_tag 'version', params[:version],:value => @new_version.version, :size => 30,:style => "font-size:small;width:490px;margin-left:10px;" %> +

+

+ + <%= text_field_tag 'description', params[:description],:value => @new_version.description,:size => 30,:style => "font-size:small;width:490px;margin-left:10px;" %> +

+ <%= submit_tag l(:button_save), :class => "small", :name => nil %> + <% end %>

当前版本:
diff --git a/config/locales/zh.yml b/config/locales/zh.yml index ac975f67f..e2b5ea53a 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -559,8 +559,8 @@ zh: label_organizer_name: 主办单位名称 label_web_footer_description: 页脚内容 label_cooperation_compnay: 合作单位 - label_version_number: 版本号 - label_version_description: 版本描述 + label_version_number: 版本 + label_version_description: 描述 label_web_footer_cooperation_compnay: 网站页脚合作单位 label_new_company: 添加合作单位 label_edit_company: 编辑合作单位