socialforge/app/views/issues/_issue_commit_ids.html.erb

10 lines
443 B
Plaintext
Raw Normal View History

<% if @issue_commit_ids %>
<% @issue_commit_ids.each do |commit_id| %>
<div class="btn btn-blue mb5">
<%= link_to commit_id[0,8], {:controller => 'repositories', :action => 'commit_diff', :id => @project.id, :changeset => commit_id}, :target => "_blank", :class => "commit_id_value" %>
<a href="#" style="color:#fff;">×</a>
</div>
<% end %>
<% else %>
<div class="c_grey">暂无</div>
<% end %>