Fossil SCM
Change the name of "Normal View" to "Modern View". Add the "View" modifier to all choices in the view mode selector, to help make it clear what the selector is for.
Commit
2a8598f9879d31476d89881345bd4bb5a8f8a769b4cfffc0d434dcca395b5fc6
Parent
59980b6082f7ffe…
2 files changed
+2
-2
+8
-8
+2
-2
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -831,19 +831,19 @@ | ||
| 831 | 831 | }, |
| 832 | 832 | { "span.timelineEllipsis", |
| 833 | 833 | "The ellipsis mark at the end of a compact comment in a timeline", |
| 834 | 834 | @ cursor: pointer; |
| 835 | 835 | }, |
| 836 | - { ".timelineNormalCell, .timelineColumnarCell, .timelineDetailCell", | |
| 836 | + { ".timelineModernCell, .timelineColumnarCell, .timelineDetailCell", | |
| 837 | 837 | "The entry details for a normal timeline", |
| 838 | 838 | @ vertical-align: top; |
| 839 | 839 | @ text-align: left; |
| 840 | 840 | @ padding: 0.75em; |
| 841 | 841 | @ border: 1px #ccc solid; |
| 842 | 842 | @ border-radius: 1em; |
| 843 | 843 | }, |
| 844 | - { ".timelineNormalDetail", | |
| 844 | + { ".timelineModernDetail", | |
| 845 | 845 | "Detail text for a normal timeline display", |
| 846 | 846 | @ font-size: 80%; |
| 847 | 847 | @ text-align: right; |
| 848 | 848 | @ float: right; |
| 849 | 849 | @ opacity: 0.75; |
| 850 | 850 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -831,19 +831,19 @@ | |
| 831 | }, |
| 832 | { "span.timelineEllipsis", |
| 833 | "The ellipsis mark at the end of a compact comment in a timeline", |
| 834 | @ cursor: pointer; |
| 835 | }, |
| 836 | { ".timelineNormalCell, .timelineColumnarCell, .timelineDetailCell", |
| 837 | "The entry details for a normal timeline", |
| 838 | @ vertical-align: top; |
| 839 | @ text-align: left; |
| 840 | @ padding: 0.75em; |
| 841 | @ border: 1px #ccc solid; |
| 842 | @ border-radius: 1em; |
| 843 | }, |
| 844 | { ".timelineNormalDetail", |
| 845 | "Detail text for a normal timeline display", |
| 846 | @ font-size: 80%; |
| 847 | @ text-align: right; |
| 848 | @ float: right; |
| 849 | @ opacity: 0.75; |
| 850 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -831,19 +831,19 @@ | |
| 831 | }, |
| 832 | { "span.timelineEllipsis", |
| 833 | "The ellipsis mark at the end of a compact comment in a timeline", |
| 834 | @ cursor: pointer; |
| 835 | }, |
| 836 | { ".timelineModernCell, .timelineColumnarCell, .timelineDetailCell", |
| 837 | "The entry details for a normal timeline", |
| 838 | @ vertical-align: top; |
| 839 | @ text-align: left; |
| 840 | @ padding: 0.75em; |
| 841 | @ border: 1px #ccc solid; |
| 842 | @ border-radius: 1em; |
| 843 | }, |
| 844 | { ".timelineModernDetail", |
| 845 | "Detail text for a normal timeline display", |
| 846 | @ font-size: 80%; |
| 847 | @ text-align: right; |
| 848 | @ float: right; |
| 849 | @ opacity: 0.75; |
| 850 |
+8
-8
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -105,11 +105,11 @@ | ||
| 105 | 105 | #define TIMELINE_UNHIDE 0x0200 /* Unhide check-ins with "hidden" tag */ |
| 106 | 106 | #define TIMELINE_SHOWRID 0x0400 /* Show RID values in addition to UUIDs */ |
| 107 | 107 | #define TIMELINE_BISECT 0x0800 /* Show supplimental bisect information */ |
| 108 | 108 | #define TIMELINE_COMPACT 0x1000 /* Use the "compact" view style */ |
| 109 | 109 | #define TIMELINE_VERBOSE 0x2000 /* Use the "detailed" view style */ |
| 110 | -#define TIMELINE_NORMAL 0x4000 /* Use the "normal" view style */ | |
| 110 | +#define TIMELINE_MODERN 0x4000 /* Use the "normal" view style */ | |
| 111 | 111 | #define TIMELINE_COLUMNAR 0x8000 /* Use the "columns view style */ |
| 112 | 112 | #endif |
| 113 | 113 | |
| 114 | 114 | /* |
| 115 | 115 | ** Hash a string and use the hash to determine a background color. |
| @@ -270,11 +270,11 @@ | ||
| 270 | 270 | }else if( tmFlags & TIMELINE_COMPACT ){ |
| 271 | 271 | zStyle = "Compact"; |
| 272 | 272 | }else if( tmFlags & TIMELINE_VERBOSE ){ |
| 273 | 273 | zStyle = "Verbose"; |
| 274 | 274 | }else{ |
| 275 | - zStyle = "Normal"; | |
| 275 | + zStyle = "Modern"; | |
| 276 | 276 | } |
| 277 | 277 | zDateFmt = P("datefmt"); |
| 278 | 278 | if( zDateFmt ) dateFormat = atoi(zDateFmt); |
| 279 | 279 | if( tmFlags & TIMELINE_GRAPH ){ |
| 280 | 280 | pGraph = graph_init(); |
| @@ -1586,11 +1586,11 @@ | ||
| 1586 | 1586 | ** rel Show related check-ins as well as those matching t=TAG |
| 1587 | 1587 | ** mionly Limit rel to show ancestors but not descendants |
| 1588 | 1588 | ** ms=MATCHSTYLE Set tag match style to EXACT, GLOB, LIKE, REGEXP |
| 1589 | 1589 | ** u=USER Only show items associated with USER |
| 1590 | 1590 | ** y=TYPE 'ci', 'w', 't', 'e', or 'all'. |
| 1591 | -** ss=VIEWSTYLE c: "compact" v: "verbose" n: "normal" j: "columnar" | |
| 1591 | +** ss=VIEWSTYLE c: "Compact" v: "Verbose" m: "Modern" j: "Columnar" | |
| 1592 | 1592 | ** ng No Graph. |
| 1593 | 1593 | ** nd Do not highlight the focus check-in |
| 1594 | 1594 | ** v Show details of files changed |
| 1595 | 1595 | ** f=CHECKIN Show family (immediate parents and children) of CHECKIN |
| 1596 | 1596 | ** from=CHECKIN Path from... |
| @@ -1667,14 +1667,14 @@ | ||
| 1667 | 1667 | char *zNewerButton = 0; /* URL for Newer button at the top */ |
| 1668 | 1668 | int selectedRid = -9999999; /* Show a highlight on this RID */ |
| 1669 | 1669 | int disableY = 0; /* Disable type selector on submenu */ |
| 1670 | 1670 | char cViewStyle; /* Overall style of the page */ |
| 1671 | 1671 | static const char *azViewStyles[] = { |
| 1672 | - "n", "Normal", | |
| 1673 | - "c", "Compact", | |
| 1674 | - "v", "Verbose", | |
| 1675 | - "j", "Columnar", | |
| 1672 | + "m", "Modern View", | |
| 1673 | + "c", "Compact View", | |
| 1674 | + "v", "Verbose View", | |
| 1675 | + "j", "Columnar View", | |
| 1676 | 1676 | }; |
| 1677 | 1677 | |
| 1678 | 1678 | /* Set number of rows to display */ |
| 1679 | 1679 | cookie_parse(DISPLAY_SETTINGS_COOKIE); |
| 1680 | 1680 | cookie_read_parameter("n","n"); |
| @@ -1775,11 +1775,11 @@ | ||
| 1775 | 1775 | } |
| 1776 | 1776 | switch( cViewStyle ){ |
| 1777 | 1777 | case 'c': tmFlags |= TIMELINE_COMPACT; break; |
| 1778 | 1778 | case 'v': tmFlags |= TIMELINE_VERBOSE; break; |
| 1779 | 1779 | case 'j': tmFlags |= TIMELINE_COLUMNAR; break; |
| 1780 | - default: tmFlags |= TIMELINE_NORMAL; break; | |
| 1780 | + default: tmFlags |= TIMELINE_MODERN; break; | |
| 1781 | 1781 | } |
| 1782 | 1782 | if( zType[0]=='a' ){ |
| 1783 | 1783 | tmFlags |= TIMELINE_BRIEF | TIMELINE_GRAPH; |
| 1784 | 1784 | }else{ |
| 1785 | 1785 | tmFlags |= TIMELINE_GRAPH; |
| 1786 | 1786 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -105,11 +105,11 @@ | |
| 105 | #define TIMELINE_UNHIDE 0x0200 /* Unhide check-ins with "hidden" tag */ |
| 106 | #define TIMELINE_SHOWRID 0x0400 /* Show RID values in addition to UUIDs */ |
| 107 | #define TIMELINE_BISECT 0x0800 /* Show supplimental bisect information */ |
| 108 | #define TIMELINE_COMPACT 0x1000 /* Use the "compact" view style */ |
| 109 | #define TIMELINE_VERBOSE 0x2000 /* Use the "detailed" view style */ |
| 110 | #define TIMELINE_NORMAL 0x4000 /* Use the "normal" view style */ |
| 111 | #define TIMELINE_COLUMNAR 0x8000 /* Use the "columns view style */ |
| 112 | #endif |
| 113 | |
| 114 | /* |
| 115 | ** Hash a string and use the hash to determine a background color. |
| @@ -270,11 +270,11 @@ | |
| 270 | }else if( tmFlags & TIMELINE_COMPACT ){ |
| 271 | zStyle = "Compact"; |
| 272 | }else if( tmFlags & TIMELINE_VERBOSE ){ |
| 273 | zStyle = "Verbose"; |
| 274 | }else{ |
| 275 | zStyle = "Normal"; |
| 276 | } |
| 277 | zDateFmt = P("datefmt"); |
| 278 | if( zDateFmt ) dateFormat = atoi(zDateFmt); |
| 279 | if( tmFlags & TIMELINE_GRAPH ){ |
| 280 | pGraph = graph_init(); |
| @@ -1586,11 +1586,11 @@ | |
| 1586 | ** rel Show related check-ins as well as those matching t=TAG |
| 1587 | ** mionly Limit rel to show ancestors but not descendants |
| 1588 | ** ms=MATCHSTYLE Set tag match style to EXACT, GLOB, LIKE, REGEXP |
| 1589 | ** u=USER Only show items associated with USER |
| 1590 | ** y=TYPE 'ci', 'w', 't', 'e', or 'all'. |
| 1591 | ** ss=VIEWSTYLE c: "compact" v: "verbose" n: "normal" j: "columnar" |
| 1592 | ** ng No Graph. |
| 1593 | ** nd Do not highlight the focus check-in |
| 1594 | ** v Show details of files changed |
| 1595 | ** f=CHECKIN Show family (immediate parents and children) of CHECKIN |
| 1596 | ** from=CHECKIN Path from... |
| @@ -1667,14 +1667,14 @@ | |
| 1667 | char *zNewerButton = 0; /* URL for Newer button at the top */ |
| 1668 | int selectedRid = -9999999; /* Show a highlight on this RID */ |
| 1669 | int disableY = 0; /* Disable type selector on submenu */ |
| 1670 | char cViewStyle; /* Overall style of the page */ |
| 1671 | static const char *azViewStyles[] = { |
| 1672 | "n", "Normal", |
| 1673 | "c", "Compact", |
| 1674 | "v", "Verbose", |
| 1675 | "j", "Columnar", |
| 1676 | }; |
| 1677 | |
| 1678 | /* Set number of rows to display */ |
| 1679 | cookie_parse(DISPLAY_SETTINGS_COOKIE); |
| 1680 | cookie_read_parameter("n","n"); |
| @@ -1775,11 +1775,11 @@ | |
| 1775 | } |
| 1776 | switch( cViewStyle ){ |
| 1777 | case 'c': tmFlags |= TIMELINE_COMPACT; break; |
| 1778 | case 'v': tmFlags |= TIMELINE_VERBOSE; break; |
| 1779 | case 'j': tmFlags |= TIMELINE_COLUMNAR; break; |
| 1780 | default: tmFlags |= TIMELINE_NORMAL; break; |
| 1781 | } |
| 1782 | if( zType[0]=='a' ){ |
| 1783 | tmFlags |= TIMELINE_BRIEF | TIMELINE_GRAPH; |
| 1784 | }else{ |
| 1785 | tmFlags |= TIMELINE_GRAPH; |
| 1786 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -105,11 +105,11 @@ | |
| 105 | #define TIMELINE_UNHIDE 0x0200 /* Unhide check-ins with "hidden" tag */ |
| 106 | #define TIMELINE_SHOWRID 0x0400 /* Show RID values in addition to UUIDs */ |
| 107 | #define TIMELINE_BISECT 0x0800 /* Show supplimental bisect information */ |
| 108 | #define TIMELINE_COMPACT 0x1000 /* Use the "compact" view style */ |
| 109 | #define TIMELINE_VERBOSE 0x2000 /* Use the "detailed" view style */ |
| 110 | #define TIMELINE_MODERN 0x4000 /* Use the "normal" view style */ |
| 111 | #define TIMELINE_COLUMNAR 0x8000 /* Use the "columns view style */ |
| 112 | #endif |
| 113 | |
| 114 | /* |
| 115 | ** Hash a string and use the hash to determine a background color. |
| @@ -270,11 +270,11 @@ | |
| 270 | }else if( tmFlags & TIMELINE_COMPACT ){ |
| 271 | zStyle = "Compact"; |
| 272 | }else if( tmFlags & TIMELINE_VERBOSE ){ |
| 273 | zStyle = "Verbose"; |
| 274 | }else{ |
| 275 | zStyle = "Modern"; |
| 276 | } |
| 277 | zDateFmt = P("datefmt"); |
| 278 | if( zDateFmt ) dateFormat = atoi(zDateFmt); |
| 279 | if( tmFlags & TIMELINE_GRAPH ){ |
| 280 | pGraph = graph_init(); |
| @@ -1586,11 +1586,11 @@ | |
| 1586 | ** rel Show related check-ins as well as those matching t=TAG |
| 1587 | ** mionly Limit rel to show ancestors but not descendants |
| 1588 | ** ms=MATCHSTYLE Set tag match style to EXACT, GLOB, LIKE, REGEXP |
| 1589 | ** u=USER Only show items associated with USER |
| 1590 | ** y=TYPE 'ci', 'w', 't', 'e', or 'all'. |
| 1591 | ** ss=VIEWSTYLE c: "Compact" v: "Verbose" m: "Modern" j: "Columnar" |
| 1592 | ** ng No Graph. |
| 1593 | ** nd Do not highlight the focus check-in |
| 1594 | ** v Show details of files changed |
| 1595 | ** f=CHECKIN Show family (immediate parents and children) of CHECKIN |
| 1596 | ** from=CHECKIN Path from... |
| @@ -1667,14 +1667,14 @@ | |
| 1667 | char *zNewerButton = 0; /* URL for Newer button at the top */ |
| 1668 | int selectedRid = -9999999; /* Show a highlight on this RID */ |
| 1669 | int disableY = 0; /* Disable type selector on submenu */ |
| 1670 | char cViewStyle; /* Overall style of the page */ |
| 1671 | static const char *azViewStyles[] = { |
| 1672 | "m", "Modern View", |
| 1673 | "c", "Compact View", |
| 1674 | "v", "Verbose View", |
| 1675 | "j", "Columnar View", |
| 1676 | }; |
| 1677 | |
| 1678 | /* Set number of rows to display */ |
| 1679 | cookie_parse(DISPLAY_SETTINGS_COOKIE); |
| 1680 | cookie_read_parameter("n","n"); |
| @@ -1775,11 +1775,11 @@ | |
| 1775 | } |
| 1776 | switch( cViewStyle ){ |
| 1777 | case 'c': tmFlags |= TIMELINE_COMPACT; break; |
| 1778 | case 'v': tmFlags |= TIMELINE_VERBOSE; break; |
| 1779 | case 'j': tmFlags |= TIMELINE_COLUMNAR; break; |
| 1780 | default: tmFlags |= TIMELINE_MODERN; break; |
| 1781 | } |
| 1782 | if( zType[0]=='a' ){ |
| 1783 | tmFlags |= TIMELINE_BRIEF | TIMELINE_GRAPH; |
| 1784 | }else{ |
| 1785 | tmFlags |= TIMELINE_GRAPH; |
| 1786 |