Fossil

Diff
Login

Differences From Artifact [8b62b08925]:

To Artifact [9007c3f73b]:


295
296
297
298
299
300
301
302
303
304

305
306
307
308
309
310
311

312

313
314

315
316

317
318

319
320
321
322
323
324
325
295
296
297
298
299
300
301



302
303
304
305
306
307
308
309
310

311
312

313
314

315
316

317
318
319
320
321
322
323
324







-
-
-
+







+
-
+

-
+

-
+

-
+







  }
  if( showClosed || showAll ){
    style_submenu_element("Open", "Open", "leaves");
  }
  style_header("Leaves");
  login_anonymous_available();
  compute_leaves(0, showAll ? 0 : showClosed ? 2 : 1);
  @ <table width="33%%" align="right" border="1">
  @ <tr><td>
  @ <b>Nomenclature:</b>
  style_sidebox_begin("Nomenclature:", "33%");
  @ <ol>
  @ <li> A <b>leaf</b> is a check-in with no descendants.</li>
  @ <li> An <b>open leaf</b> is a leaf that does not have a "closed" tag
  @ and is thus assumed to still be in use.</li>
  @ <li> A <b>closed leaf</b> has a "closed" tag and is thus assumed to
  @ be historical and no longer in active use.</li>
  @ </ol>
  style_sidebox_end();
  @ </td></tr></table>

  if( showAll ){
    @ <h1>All leaves, both open and closed</h1>
    @ <h1>All leaves, both open and closed:</h1>
  }else if( showClosed ){
    @ <h1>Closed leaves only</h1>
    @ <h1>Closed leaves:</h1>
  }else{
    @ <h1>All open leaves</h1>
    @ <h1>Open leaves:</h1>
  }
  db_prepare(&q,
    "%s"
    "   AND blob.rid IN leaves"
    " ORDER BY event.mtime DESC",
    timeline_query_for_www()
  );