1.里程碑详情页面,当无里程碑结束时间时,历程详情页面右边单纯只有一个闹钟
This commit is contained in:
parent
3d5509593b
commit
1658682f5e
|
@ -11,10 +11,11 @@
|
|||
<%= render :partial => 'versions/type_ico', :locals => {:version => @version} %>
|
||||
</ul>
|
||||
<p class="fr mt3 c_grey02">
|
||||
<span class="muban-icons-clock "></span>
|
||||
<% if @version.completed? %>
|
||||
<span class="muban-icons-clock "></span>
|
||||
<%= format_date(@version.effective_date) %>
|
||||
<% elsif @version.effective_date %>
|
||||
<span class="muban-icons-clock "></span>
|
||||
<%= due_date_distance_in_words(@version.effective_date) %>(<%= format_date(@version.effective_date) %>)
|
||||
<% end %>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue