diff --git a/app/views/poll/index.html.erb b/app/views/poll/index.html.erb index 68d16f4f7..7c1529406 100644 --- a/app/views/poll/index.html.erb +++ b/app/views/poll/index.html.erb @@ -12,7 +12,7 @@

所有问卷 (<%= @polls.count%>)

- 新建问卷 + <%= link_to l(:label_new_poll), new_poll_path(:polls_type => "Course",:polls_group_id => @course.id), :class => "newbtn" %>
diff --git a/app/views/poll/new.html.erb b/app/views/poll/new.html.erb index e69de29bb..9d07aa0df 100644 --- a/app/views/poll/new.html.erb +++ b/app/views/poll/new.html.erb @@ -0,0 +1 @@ +111 \ No newline at end of file diff --git a/config/locales/zh.yml b/config/locales/zh.yml index f3e6d4d8d..b6a293c6a 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -2243,4 +2243,5 @@ zh: label_file_exist: 该作品中有重复命名文件,请通过文件名学号和姓名信息进入该作业详细界面手动下载 label_poll_new: 未命名问卷 label_poll: 问卷调查 + label_new_poll: 新建问卷