任务单 #26707

PATCH milestone's due date is not shown at last day

开放日期: 2011-11-09 20:59 最后更新: 2012-03-15 08:20

报告人:
(匿名)
属主:
(无)
类型:
状态:
关闭
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:

Details

Index: gantt.html
===================================================================
--- gantt.html	(revision 808)
+++ gantt.html	(working copy)
@@ -354,7 +354,7 @@
           ${print_chart('done')}
   <py:if test="'MILESTONE_VIEW' in req.perm and (sorted_field == 'milestone' or (selected_milestone != '' and selected_milestone != None))">
     <py:if test="tickets[cnt].get('milestone')!= None and tickets[cnt].get('milestone') in milestones" py:with="d= milestones[tickets[cnt]['milestone']].get('due')">
-      <py:if test="d!=None and 0 &lt;= (d-first_date).days+1 &lt; days_term" py:with="d=(d-first_date).days+1">
+      <py:if test="d!=None and 0 &lt;= (d-first_date).days+1 &lt;= days_term" py:with="d=(d-first_date).days+1">
           <div py:if="show_ticket_summary != 'on'" class="milestone" style="left: ${d*px_dw}px; top: ${cnt*px_ti+px_hd+px_top}px;  width: 2px; height: ${px_ti}px;"></div>
       </py:if>
     </py:if>
@@ -362,7 +362,7 @@
 </py:for>
 <py:with vars="base = (baseday-first_date).days+1">
           <!-- baseline -->
-          <div py:if="base &lt; days_term" class="baseline" style="left:${base*px_dw}px;top:${px_hd}px; height:${maxtic*px_ti+px_height}px; width: 0px;"/>
+          <div py:if="0 &lt;= base &lt;= days_term" class="baseline" style="left:${base*px_dw}px;top:${px_hd}px; height:${maxtic*px_ti+px_height}px; width: 0px;"/>
 </py:with>
         </div>
       </div>

任务单历史 (3/3 Histories)

2011-11-09 20:59 Updated by: None
  • New Ticket "PATCH milestone's due date is not shown at last day" created
2012-03-15 08:19 Updated by: okamototk
评论

Applied by jun66j5.

2012-03-15 08:20 Updated by: okamototk
  • 处理结果 Update from to Fixed
  • 状态 Update from 开启 to 关闭
  • Ticket Close date is changed to 2012-03-15 08:20

Attachment File List

No attachments

编辑

Please login to add comment to this ticket » 登录名