Differences From Artifact [0bdf697cea]:
- File src/diff.c — part of check-in [942b2076c6] at 2020-11-07 13:25:35 on branch default-css-cleanups — Rename the "style_body_and_footer()" interface to "style_finish_page()" and add a more detailed header comment to the implementation. (user: drh size: 85551) [more...]
To Artifact [a144d1b816]:
- File src/diff.c — part of check-in [8ac0830bfc] at 2020-12-22 11:58:34 on branch body-feature-class — Calling the new style_set_current_feature() function to override the new TH1 variable $current_feature for Fossil UI pages where the page name isn't what we want used as the "body" CSS class. For the most part, this matches the value currently being passed to style_finish_page(), but a few have changed with the benefit of hindsight. Not all calls to style_finish_page() have a corresponding call to the new function since the default value for $current_page now suffices. (user: wyoung size: 85592)
︙ | |||
2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 | 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 | + | if( ignoreWs ) annFlags |= DIFF_IGNORE_ALLWS; /* compute the annotation */ annotate_file(&ann, zFilename, zRevision, zLimit, zOrigin, annFlags); zCI = ann.aVers[0].zMUuid; /* generate the web page */ style_set_current_feature("annotate"); style_header("Annotation For %h", zFilename); if( bBlame ){ url_initialize(&url, "blame"); }else{ url_initialize(&url, "annotate"); } url_add_parameter(&url, "checkin", P("checkin")); |
︙ |