+ <% other_formats_links do |f| %>
+<%= f.link_to 'Atom', :url => params.merge(:key => User.current.rss_key) %>
+<%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
+<%= f.link_to 'PDF', :url => params %>
+<% end %>
+
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index 59d43ef56..47cecb863 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -52,16 +52,20 @@
-
<%= link_to_function l(:label_issue_query), 'submit_query_form("query_form")', :class => 'icon icon-checked' %>
<%= link_to l(:label_issue_cancel_query), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %>
-
+
<% end %>
+
+
<%= error_messages_for 'query' %>
<% if @query.valid? %>
<% if @issues.empty? %>
+
<%= l(:label_export_options, :export_format => 'CSV') %>
diff --git a/app/views/projects/_course_form.html.erb b/app/views/projects/_course_form.html.erb
index efc537113..a9030833b 100644
--- a/app/views/projects/_course_form.html.erb
+++ b/app/views/projects/_course_form.html.erb
@@ -1,58 +1,58 @@
-<%= error_messages_for 'project' %>
-<%= error_messages_for 'course' %>
-
-
-<% unless @project.new_record? %>
-
<%= render :partial=>"avatar/avatar_form",:locals=> {source:@project} %>
-<% end %>
-
<%= f.text_field :name, :required => true, :size => 60, :style => "width:490px;" %>
-
-
<%= f.text_area :description, :rows => 8, :class => 'wiki-edit', :style => "font-size:small;width:490px;margin-left:10px;" %>
-
-
-
- <%= f.fields_for @course do |m| %>
-
-
-
<%= m.text_field :state, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %>
-
<%= l(:text_command) %>
-
<%= m.text_field :term, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %>
-
-<% end %>
-
-
<%= f.text_field :project_type, :value => 1 %>
-
-
-<%= wikitoolbar_for 'project_description' %>
-
-<% @project.custom_field_values.each do |value| %>
-
<%= custom_field_tag_with_label :project, value %>
-<% end %>
-<%= call_hook(:view_projects_form, :project => @project, :form => f) %>
-
-
-
-
-
-<% unless @project.identifier_frozen? %>
- <% content_for :header_tags do %>
- <%= javascript_include_tag 'project_identifier' %>
- <% end %>
-<% end %>
-
-<% if !User.current.admin? && @project.inherit_members? && @project.parent && User.current.member_of?(@project.parent) %>
- <%= javascript_tag do %>
- $(document).ready(function() {
- $("#project_inherit_members").change(function(){
- if (!$(this).is(':checked')) {
- if (!confirm("<%= escape_javascript(l(:text_own_membership_delete_confirmation)) %>")) {
- $("#project_inherit_members").attr("checked", true);
- }
- }
- });
- });
- <% end %>
-<% end %>
+<%= error_messages_for 'project' %>
+<%= error_messages_for 'course' %>
+
+
+<% unless @project.new_record? %>
+
<%= render :partial=>"avatar/avatar_form",:locals=> {source:@project} %>
+<% end %>
+
<%= f.text_field :name, :required => true, :size => 60, :style => "width:490px;" %>
+
+
<%= f.text_area :description, :rows => 8, :class => 'wiki-edit', :style => "font-size:small;width:490px;margin-left:10px;" %>
+
+
+
+ <%= f.fields_for @course do |m| %>
+
+
+
<%= m.text_field :password, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %>
+
<%= l(:text_command) %>
+
<%= m.text_field :term, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %>
+
+<% end %>
+
+
<%= f.text_field :project_type, :value => 1 %>
+
+
+<%= wikitoolbar_for 'project_description' %>
+
+<% @project.custom_field_values.each do |value| %>
+
<%= custom_field_tag_with_label :project, value %>
+<% end %>
+<%= call_hook(:view_projects_form, :project => @project, :form => f) %>
+
+
+
+
+
+<% unless @project.identifier_frozen? %>
+ <% content_for :header_tags do %>
+ <%= javascript_include_tag 'project_identifier' %>
+ <% end %>
+<% end %>
+
+<% if !User.current.admin? && @project.inherit_members? && @project.parent && User.current.member_of?(@project.parent) %>
+ <%= javascript_tag do %>
+ $(document).ready(function() {
+ $("#project_inherit_members").change(function(){
+ if (!$(this).is(':checked')) {
+ if (!confirm("<%= escape_javascript(l(:text_own_membership_delete_confirmation)) %>")) {
+ $("#project_inherit_members").attr("checked", true);
+ }
+ }
+ });
+ });
+ <% end %>
+<% end %>
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index 1955314f2..2cfaeb932 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -522,11 +522,12 @@ zh:
label_user_login_new: 登录
label_user_login_tips: 您还没有登录,请登录后留言
#end
- #by huang
+ #by huang # modified by bai
label_term: 学期
- label_spring: 春季
- label_summer: 夏季
- label_autumn: 秋季
+ label_spring: 春季学期
+ label_summer: 夏季学期
+ label_autumn: 秋季学期
+ label_winter: 冬季学期
label_followers: 关注
label_teacher: 教师
label_limit_time: 截止日期