上线测试版缺陷修复

This commit is contained in:
daiao 2017-02-10 15:30:18 +08:00
parent 67333618bb
commit 01595fda4a
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
<li class="mt10 ml35 mb10">
<label class="mr27">&nbsp;</label>
<a href="javascript:void(0);" class="sy_btn_grey fl" id="upload_files_cancle_btn" onclick="hideModal()">取&nbsp;&nbsp;消</a>
<%= 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' %>
<div class="cl"></div>
</li>
</div>

View File

@ -17,7 +17,7 @@
</li>
</ul>
<!-- <a href="javascript:void(0);" class="btn btn-green fr mr15 mt10"> 新建 </a>-->
<% 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 %>
</div>