Fossil SCM
Add the "ng" query parameter to the "timeline" to disable the graph.
Commit
2f22c476c151aad67442669e27d7f28bca9d7431
Parent
5c30ad4ce154ac1…
1 file changed
+4
+4
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -633,10 +633,11 @@ | ||
| 633 | 633 | ** d=RID artifact RID and up to COUNT descendants |
| 634 | 634 | ** t=TAGID show only check-ins with the given tagid |
| 635 | 635 | ** u=USER only if belonging to this user |
| 636 | 636 | ** y=TYPE 'ci', 'w', 't' |
| 637 | 637 | ** s=TEXT string search (comment and brief) |
| 638 | +** ng Suppress the graph if present | |
| 638 | 639 | ** |
| 639 | 640 | ** p= and d= can appear individually or together. If either p= or d= |
| 640 | 641 | ** appear, then u=, y=, a=, and b= are ignored. |
| 641 | 642 | ** |
| 642 | 643 | ** If a= and b= appear, only a= is used. If neither appear, the most |
| @@ -674,10 +675,13 @@ | ||
| 674 | 675 | if( zType[0]=='a' ){ |
| 675 | 676 | tmFlags = TIMELINE_BRIEF | TIMELINE_GRAPH; |
| 676 | 677 | }else{ |
| 677 | 678 | tmFlags = TIMELINE_GRAPH; |
| 678 | 679 | } |
| 680 | + if( P("ng")!=0 ){ | |
| 681 | + tmFlags &= ~TIMELINE_GRAPH; | |
| 682 | + } | |
| 679 | 683 | |
| 680 | 684 | style_header("Timeline"); |
| 681 | 685 | login_anonymous_available(); |
| 682 | 686 | timeline_temp_table(); |
| 683 | 687 | blob_zero(&sql); |
| 684 | 688 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -633,10 +633,11 @@ | |
| 633 | ** d=RID artifact RID and up to COUNT descendants |
| 634 | ** t=TAGID show only check-ins with the given tagid |
| 635 | ** u=USER only if belonging to this user |
| 636 | ** y=TYPE 'ci', 'w', 't' |
| 637 | ** s=TEXT string search (comment and brief) |
| 638 | ** |
| 639 | ** p= and d= can appear individually or together. If either p= or d= |
| 640 | ** appear, then u=, y=, a=, and b= are ignored. |
| 641 | ** |
| 642 | ** If a= and b= appear, only a= is used. If neither appear, the most |
| @@ -674,10 +675,13 @@ | |
| 674 | if( zType[0]=='a' ){ |
| 675 | tmFlags = TIMELINE_BRIEF | TIMELINE_GRAPH; |
| 676 | }else{ |
| 677 | tmFlags = TIMELINE_GRAPH; |
| 678 | } |
| 679 | |
| 680 | style_header("Timeline"); |
| 681 | login_anonymous_available(); |
| 682 | timeline_temp_table(); |
| 683 | blob_zero(&sql); |
| 684 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -633,10 +633,11 @@ | |
| 633 | ** d=RID artifact RID and up to COUNT descendants |
| 634 | ** t=TAGID show only check-ins with the given tagid |
| 635 | ** u=USER only if belonging to this user |
| 636 | ** y=TYPE 'ci', 'w', 't' |
| 637 | ** s=TEXT string search (comment and brief) |
| 638 | ** ng Suppress the graph if present |
| 639 | ** |
| 640 | ** p= and d= can appear individually or together. If either p= or d= |
| 641 | ** appear, then u=, y=, a=, and b= are ignored. |
| 642 | ** |
| 643 | ** If a= and b= appear, only a= is used. If neither appear, the most |
| @@ -674,10 +675,13 @@ | |
| 675 | if( zType[0]=='a' ){ |
| 676 | tmFlags = TIMELINE_BRIEF | TIMELINE_GRAPH; |
| 677 | }else{ |
| 678 | tmFlags = TIMELINE_GRAPH; |
| 679 | } |
| 680 | if( P("ng")!=0 ){ |
| 681 | tmFlags &= ~TIMELINE_GRAPH; |
| 682 | } |
| 683 | |
| 684 | style_header("Timeline"); |
| 685 | login_anonymous_available(); |
| 686 | timeline_temp_table(); |
| 687 | blob_zero(&sql); |
| 688 |