Diff
Not logged in

Differences From:

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]

To:

File src/descendants.c part of check-in [472f9411ee] - Add the "hyperlinks are disabled" warning to the taglist page. Disable hyperlinks on the leaves page when hyperlinks are suppose to be disabled. by drh on 2009-01-29 03:04:38. [view]

@@ -270,9 +270,11 @@
 ** the "leaves" page.  Add some additional hyperlink to show the
 ** ancestors of the leaf.
 */
 static void leaves_extra(int rid){
-  @ <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">[timeline]</a>
+  if( g.okHistory ){
+    @ <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">[timeline]</a>
+  }
 }
 
 /*
 ** WEBPAGE:  leaves