Edgewall Software

Ticket #2430 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Milestone progess bars don't fill their bounding box

Reported by: markus Owned by: cmlenz
Priority: normal Milestone: 0.9.4
Component: roadmap Version: 0.9
Severity: normal Keywords: layout
Cc:

Description

[2411] led to another layout issue as the inner progress bars (completed & new/assigned/reopened) never fill the complete bounding box. This is ugly and confusing since there's a region on the right of your progress bar where you can "see through" the bar and that doesn't link to any query.

This issue is reproducible with any Trac 0.9+ installation on any browser I tested so far (Firefox, Mozilla, Opera, Internet Explorer).

Attachments

2430-1.diff (7.4 kB) - added by markus 3 years ago.

Change History

Changed 3 years ago by markus

This worksformarkus! ;-)

  • htdocs/css/roadmap.css

     
    55 border: none; 
    66 display: block; 
    77 float: left; 
     8 clear: right; 
    89 height: 1.2em; 
    910} 
    1011div.progress :link:hover, div.progress :visited:hover { background: #fff } 
  • templates/milestone.cs

     
    126126        if:#stats.total_tickets != #1 ?>s<?cs /if ?> closed"></a> 
    127127      <a class="open" href="<?cs 
    128128        var:milestone.queries.active_tickets ?>" style="width: <?cs 
    129         var:#stats.percent_active - 1 ?>%" title="<?cs 
     129        var:#stats.percent_active ?>%" title="<?cs 
    130130        var:#stats.active_tickets ?> of <?cs 
    131131        var:#stats.total_tickets ?> ticket<?cs 
    132132        if:#stats.total_tickets != #1 ?>s<?cs /if ?> active"></a> 
  • templates/roadmap.cs

     
    4646         if:#stats.total_tickets != #1 ?>s<?cs /if ?> closed"></a> 
    4747       <a class="open" href="<?cs 
    4848         var:milestone.queries.active_tickets ?>" style="width: <?cs 
    49          var:#stats.percent_active - 1 ?>%" title="<?cs 
     49         var:#stats.percent_active ?>%" title="<?cs 
    5050         var:#stats.active_tickets ?> of <?cs 
    5151         var:#stats.total_tickets ?> ticket<?cs 
    5252         if:#stats.total_tickets != #1 ?>s<?cs /if ?> active"></a> 

See also #1886.

Changed 3 years ago by cmlenz

  • keywords layout added
  • status changed from new to assigned
  • milestone set to 0.9.2

Will look into this.

Changed 3 years ago by cmlenz

  • milestone changed from 0.9.3 to 0.9.4

Changed 3 years ago by markus

Changed 3 years ago by markus

After talking to cmlenz we decided to fix this ticket another way. The patch I just attached is a preview of my proposal. Unfortunately the final version won't be finished for the next release, sorry... :(

Changed 3 years ago by cmlenz

  • status changed from assigned to closed
  • resolution set to fixed

Applied a slightly modified version of the patch in [2906] and [2907]. Thanks!

Add/Change #2430 (Milestone progess bars don't fill their bounding box)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.