commit 按钮样式调整
This commit is contained in:
parent
e205a08573
commit
9b2781999c
|
@ -1,6 +1,6 @@
|
|||
<% unless @issue_commit_ids.blank? %>
|
||||
<% @issue_commit_ids.each do |commit_id| %>
|
||||
<div class="btn btn-blue mb5">
|
||||
<div class="btn-commit-issue btn-blue mb5 mr5">
|
||||
<%= link_to commit_id[0,8], {:controller => 'repositories', :action => 'commit_diff', :id => @project.id, :changeset => commit_id}, :target => "_blank", :class => "commit_id_value" %>
|
||||
<% if @issue %>
|
||||
<% if User.current.admin? || is_project_manager?(User.current.id, @project.id) || User.current.id == @issue.author_id %>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<% if !@issue_commit_ids.blank? %>
|
||||
<span class="pro_new_conbox_leftspan mb5">关联Commit</span>
|
||||
<% @issue_commit_ids.each do |commit_id| %>
|
||||
<div class="btn btn-blue mb5">
|
||||
<div class="btn-commit-issue btn-blue mb5 mr5">
|
||||
<%= link_to commit_id[0,8], {:controller => 'repositories', :action => 'commit_diff', :id => @project.id, :changeset => commit_id}, :target => "_blank", :class => "commit_id_value" %>
|
||||
<% if @issue %>
|
||||
<% if User.current.admin? || is_project_manager?(User.current.id, @project.id) || User.current.id == @issue.author_id %>
|
||||
|
|
Loading…
Reference in New Issue