Incidencia #26709

PATCH add function: go to ticket page when click on gantt chart bar

Abrir Fecha: 2011-11-09 21:38 Última actualización: 2012-03-15 08:21

Informador:
(Anónimo)
Propietario:
(Ninguno)
Tipo:
Estado:
Cerrado
Componente:
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
Ninguno

Details

Index: gantt.html
===================================================================
--- gantt.html	(revision 808)
+++ gantt.html	(working copy)
@@ -54,9 +54,9 @@
       .tip:hover span.popup
                      {visibility: visible; z-index: 100;font-size: 11px;}
 
-      .tic_done      {position: absolute; overflow: hidden; background:lightgreen;}
-      .tic_late      {position: absolute; overflow: hidden; background:pink;}
-      .tic_todo      {position: absolute; overflow: hidden; background:lightgrey;}
+      .tic_done      {position: absolute; overflow: hidden; cursor: pointer; background:lightgreen;}
+      .tic_late      {position: absolute; overflow: hidden; cursor: pointer; background:pink;}
+      .tic_todo      {position: absolute; overflow: hidden; cursor: pointer; background:lightgrey;}
       .tic_done_bl   {position: absolute; overflow: hidden; background:green;}
       .tic_late_bl   {position: absolute; overflow: hidden; background:red;}
       .tic_todo_bl   {position: absolute; overflow: hidden; background:gray;}
@@ -319,7 +319,7 @@
         <py:with vars="tic_due='(%d/%d ~ %d/%d)' % (t['due_assign'].month, t['due_assign'].day, t['due_close'].month, t['due_close'].day );
                        tic_tip='%s#%d: %s - %s %s%s' % (t['type'], t['id'], t['summary'], format_author(t['owner']), tic_due, (t['estimatedhours']!=None and ' '+ str(t['estimatedhours']) +'h' or '') );">
           <div class="${'tic_'+kind+'_bl'}" style="left:${int(s*px_dw+1)}px;top:${px_ti*cnt+px_hd+((px_ti-px_ch)/2)+(ti_mrgn/2)+px_top}px;width: ${int((e-s)*px_dw)}px;height:${px_ch}px;"/>
-          <div class="${'tic_'+kind}" py:attrs="{'title':tic_tip}" style="left:${int(s*px_dw+2)}px;top:${px_ti*cnt+px_hd+((px_ti-px_ch)/2+1)+(ti_mrgn/2)+px_top}px;width: ${int((e-s)*px_dw)-2}px;height:${px_ch-2}px;"/>
+          <div class="${'tic_'+kind}" onclick="location.href='${req.href.ticket()}/${t['id']}';" py:attrs="{'title':tic_tip}" style="left:${int(s*px_dw+2)}px;top:${px_ti*cnt+px_hd+((px_ti-px_ch)/2+1)+(ti_mrgn/2)+px_top}px;width: ${int((e-s)*px_dw)-2}px;height:${px_ch-2}px;"/>
         </py:with>
     </py:if>
   </py:with>


Ticket History (2/2 Histories)

2011-11-09 21:38 Updated by: None
  • New Ticket "PATCH add function: go to ticket page when click on gantt chart bar" created
2012-03-15 08:21 Updated by: okamototk
  • Resolución Update from Ninguno to Fixed
  • Estado Update from Open to Cerrado
  • Ticket Close date is changed to 2012-03-15 08:21
Comentario

Applied by jun66j5.

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Entrar