项目issue功能
This commit is contained in:
parent
e16b5b2f5d
commit
8336fb2684
|
@ -11,8 +11,8 @@
|
||||||
<div class="issues_list_titlebox clear">
|
<div class="issues_list_titlebox clear">
|
||||||
<a href="<%= issue_path(activity) %>" class="issues_list_title fl" target="_blank"><%= activity.subject.to_s %></a>
|
<a href="<%= issue_path(activity) %>" class="issues_list_title fl" target="_blank"><%= activity.subject.to_s %></a>
|
||||||
<% if activity.journals.count > 0%>
|
<% if activity.journals.count > 0%>
|
||||||
<span class="issues_icons_mes "></span>
|
<span class="issues_icons_mes fl mr5 ml5 "></span>
|
||||||
<span><%= activity.journals.count %></span>
|
<span class="fl mt2"><%= activity.journals.count %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -40,13 +40,14 @@
|
||||||
周报
|
周报
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="c_grey">
|
||||||
<% unless activity.assigned_to_id.nil? %>
|
<% unless activity.assigned_to_id.nil? %>
|
||||||
<% if activity.try(:assigned_to).try(:realname) == ' ' %>
|
<% if activity.try(:assigned_to).try(:realname) == ' ' %>
|
||||||
<%= link_to activity.try(:assigned_to), user_path(activity.assigned_to_id), :class => "c_grey" %>
|
<%= link_to activity.try(:assigned_to), user_path(activity.assigned_to_id), :class => "c_grey" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to activity.try(:assigned_to).try(:realname), user_path(activity.assigned_to_id), :class => "c_grey" %>
|
<%= link_to activity.try(:assigned_to).try(:realname), user_path(activity.assigned_to_id), :class => "c_grey" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %></li>
|
||||||
<li class="c_grey"> 20161231 </li>
|
<li class="c_grey"> 20161231 </li>
|
||||||
<li class="issues_list_min c_grey">草稿</li>
|
<li class="issues_list_min c_grey">草稿</li>
|
||||||
<li class="c_green">90%</li>
|
<li class="c_green">90%</li>
|
||||||
|
|
|
@ -819,7 +819,7 @@ a:hover.issues_list_title{color:#3b94d6;}
|
||||||
.issues_list_titlebox span{ font-size: 12px;color: #888; font-weight: normal; }
|
.issues_list_titlebox span{ font-size: 12px;color: #888; font-weight: normal; }
|
||||||
.issues_ciricons_01{ width: 22px; height: 22px; display: inline-block; background: url("/images/new_project/icons_issue.png") 0 0 no-repeat;}
|
.issues_ciricons_01{ width: 22px; height: 22px; display: inline-block; background: url("/images/new_project/icons_issue.png") 0 0 no-repeat;}
|
||||||
.issues_ciricons_02{ width: 22px; height: 22px; display: inline-block; background: url("/images/new_project/icons_issue.png") 0 -30px no-repeat;}
|
.issues_ciricons_02{ width: 22px; height: 22px; display: inline-block; background: url("/images/new_project/icons_issue.png") 0 -30px no-repeat;}
|
||||||
.issues_icons_mes{width: 17px; height: 19px; display: inline-block; background: url("/images/new_project/icons_issue.png") 0 -54px no-repeat; }
|
.issues_icons_mes{width: 17px; height: 17px; display: inline-block; background: url("/images/new_project/icons_issue.png") 0 -57px no-repeat; }
|
||||||
.issues_list_name{ font-size: 12px;}
|
.issues_list_name{ font-size: 12px;}
|
||||||
.issues_list_name:hover{ color: #3b94d6;}
|
.issues_list_name:hover{ color: #3b94d6;}
|
||||||
.issues_list_small{ font-size: 12px; color: #666;}
|
.issues_list_small{ font-size: 12px; color: #666;}
|
||||||
|
|
Loading…
Reference in New Issue