Fossil

Check-in [811d10ac7a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a stray "@" character in the filenames of the Checkins By File report.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 811d10ac7ad84e6b38d5abdbc854cf7f60604776
User & Date: drh 2015-01-27 03:06:01.851
Context
2015-01-27
03:10
In the Checkins By File report, use filenames as the secondary sort key. ... (check-in: 840343d4be user: drh tags: trunk)
03:06
Fix a stray "@" character in the filenames of the Checkins By File report. ... (check-in: 811d10ac7a user: drh tags: trunk)
03:00
Add the "Checkins Per File" report to the /reports page. ... (check-in: ec8c7498c0 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/statrep.c.
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
    const char *zFile = db_column_text(&query, 0);
    const int n = db_column_int(&query, 1);
    int sz;
    if( n<=0 ) continue;
    sz = (int)(100*n/mxEvent);
    if( sz==0 ) sz = 1;
    @<tr class='row%d(++nRowNumber%2)'>
    @ <td>@ %z(href("%R/finfo?name=%T",zFile))%h(zFile)</a></td>
    @ <td>%d(n)</td>
    @ <td>
    @ <div class='statistics-report-graph-line'
    @  style='width:%d(sz)%%;'>&nbsp;</div>
    @ </td>
    @</tr>
  }







|







488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
    const char *zFile = db_column_text(&query, 0);
    const int n = db_column_int(&query, 1);
    int sz;
    if( n<=0 ) continue;
    sz = (int)(100*n/mxEvent);
    if( sz==0 ) sz = 1;
    @<tr class='row%d(++nRowNumber%2)'>
    @ <td>%z(href("%R/finfo?name=%T",zFile))%h(zFile)</a></td>
    @ <td>%d(n)</td>
    @ <td>
    @ <div class='statistics-report-graph-line'
    @  style='width:%d(sz)%%;'>&nbsp;</div>
    @ </td>
    @</tr>
  }