You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

_issue_commit_ids.html.erb 1.2 kB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
123456789101112131415161718
  1. <% if @issue_commit_ids %>
  2. <% @issue_commit_ids.each do |commit_id| %>
  3. <div class="btn btn-blue mb5">
  4. <%= link_to commit_id[0,8], {:controller => 'repositories', :action => 'commit_diff', :id => @project.id, :changeset => commit_id}, :target => "_blank", :class => "commit_id_value" %>
  5. <% if @issue %>
  6. <% if User.current.admin? || is_project_manager?(User.current.id, @project.id) || User.current.id == @issue.author_id %>
  7. <%= link_to "×", issue_commit_delete_issues_path(:commit_id => commit_id, :project_id => @project.id, :issue_commit_ids => @issue_commit_ids, :issue_id => @issue.try(:id)), :remote => true, :style => "color:#fff;" %>
  8. <% end %>
  9. <% else %>
  10. <% if User.current.member_of?(@project) %>
  11. <%= link_to "×", issue_commit_delete_issues_path(:commit_id => commit_id, :project_id => @project.id, :issue_commit_ids => @issue_commit_ids, :issue_id => @issue.try(:id)), :remote => true, :style => "color:#fff;" %>
  12. <% end %>
  13. <% end %>
  14. </div>
  15. <% end %>
  16. <% else %>
  17. <div class="c_grey">暂无</div>
  18. <% end %>

软件技术创新是当今国家整体创新能力的重要基础和发展引擎。近年来,大众参与的软件创新与创业活动已经成为网络时代软件开发和应用的新形态,正在快速改变着全球软件创新模式和软件产业格局。 ...