Diff
Not logged in

Differences From:

File src/descendants.c part of check-in [42c2a18e73] - Change the way branches are tagged: The value of the "branch" property is used to identify the branch name. Repository rebuild required. Also, branches must be retagged. by drh on 2009-01-22 12:03:51. [view]

To:

File src/descendants.c part of check-in [83ac468aae] - Add a "nomenclature" sidebox for the Branches page, explaining the difference between an open and a closed branch. by drh on 2009-01-24 00:11:44. [view]

@@ -298,25 +298,24 @@
   }
   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>
-  @ </td></tr></table>
+  style_sidebox_end();
+
   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"