diff --git a/app/views/users/_upload_resource.html.erb b/app/views/users/_upload_resource.html.erb index 610b14bb8..df21e702d 100644 --- a/app/views/users/_upload_resource.html.erb +++ b/app/views/users/_upload_resource.html.erb @@ -48,7 +48,7 @@
  • 取  消 - <%= submit_tag '确定',:onclick => 'submit_files();',:onfocus=>'this.blur()',:id=>'upload_files_submit_btn',:class=>'sy_btn_blue fl ml20' %> + <%= submit_tag '确定',:onclick => 'submit_files();',:onfocus=>'this.blur()',:class=>'sy_btn_blue fl ml20' %>
  • \ No newline at end of file diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index 10bcb806f..242897fa9 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -17,7 +17,7 @@ - <% if is_project_member?(User.current.id, @project.id) || User.current.admin? %> + <% if ( is_project_member?(User.current.id, @project.id) && role_of_members_in_project(@project.id, User.current.id) != 'Reporter') || User.current.admin? %> <%= link_to "新建", new_project_version_path(@project, :is_create => true), :class => 'btn btn-green fr mr15 mt10', :remote => true %> <% end %>