Fossil SCM
Add the 'project_description' variable to TH1.
Commit
cd219d31c16d887f7504169290bc5bba9f48e53c
Parent
1b5b69f3cff2137…
4 files changed
+1
+1
+1
+4
+1
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -400,10 +400,11 @@ | ||
| 400 | 400 | |
| 401 | 401 | if( g.thTrace ) Th_Trace("BEGIN_HEADER<br />\n", -1); |
| 402 | 402 | |
| 403 | 403 | /* Generate the header up through the main menu */ |
| 404 | 404 | Th_Store("project_name", db_get("project-name","Unnamed Fossil Project")); |
| 405 | + Th_Store("project_description", db_get("project-description","")); | |
| 405 | 406 | Th_Store("title", zTitle); |
| 406 | 407 | Th_Store("baseurl", g.zBaseURL); |
| 407 | 408 | Th_Store("secureurl", login_wants_https_redirect()? g.zHttpsURL: g.zBaseURL); |
| 408 | 409 | Th_Store("home", g.zTop); |
| 409 | 410 | Th_Store("index_page", db_get("index-page","/home")); |
| 410 | 411 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -400,10 +400,11 @@ | |
| 400 | |
| 401 | if( g.thTrace ) Th_Trace("BEGIN_HEADER<br />\n", -1); |
| 402 | |
| 403 | /* Generate the header up through the main menu */ |
| 404 | Th_Store("project_name", db_get("project-name","Unnamed Fossil Project")); |
| 405 | Th_Store("title", zTitle); |
| 406 | Th_Store("baseurl", g.zBaseURL); |
| 407 | Th_Store("secureurl", login_wants_https_redirect()? g.zHttpsURL: g.zBaseURL); |
| 408 | Th_Store("home", g.zTop); |
| 409 | Th_Store("index_page", db_get("index-page","/home")); |
| 410 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -400,10 +400,11 @@ | |
| 400 | |
| 401 | if( g.thTrace ) Th_Trace("BEGIN_HEADER<br />\n", -1); |
| 402 | |
| 403 | /* Generate the header up through the main menu */ |
| 404 | Th_Store("project_name", db_get("project-name","Unnamed Fossil Project")); |
| 405 | Th_Store("project_description", db_get("project-description","")); |
| 406 | Th_Store("title", zTitle); |
| 407 | Th_Store("baseurl", g.zBaseURL); |
| 408 | Th_Store("secureurl", login_wants_https_redirect()? g.zHttpsURL: g.zBaseURL); |
| 409 | Th_Store("home", g.zTop); |
| 410 | Th_Store("index_page", db_get("index-page","/home")); |
| 411 |
+1
| --- www/changes.wiki | ||
| +++ www/changes.wiki | ||
| @@ -10,10 +10,11 @@ | ||
| 10 | 10 | * Remove the "fusefs" command from builds that do not have the underlying |
| 11 | 11 | support enabled. |
| 12 | 12 | * TH1 enhancements: |
| 13 | 13 | <ul><li>Add <nowiki>[unversioned content]</nowiki> command.</li> |
| 14 | 14 | <li>Add <nowiki>[unversioned list]</nowiki> command.</li> |
| 15 | + <li>Add project_description variable.</li> | |
| 15 | 16 | </ul> |
| 16 | 17 | |
| 17 | 18 | <a name='v1_36'></a> |
| 18 | 19 | <h2>Changes for Version 1.36 (2016-10-24)</h2> |
| 19 | 20 | |
| 20 | 21 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -10,10 +10,11 @@ | |
| 10 | * Remove the "fusefs" command from builds that do not have the underlying |
| 11 | support enabled. |
| 12 | * TH1 enhancements: |
| 13 | <ul><li>Add <nowiki>[unversioned content]</nowiki> command.</li> |
| 14 | <li>Add <nowiki>[unversioned list]</nowiki> command.</li> |
| 15 | </ul> |
| 16 | |
| 17 | <a name='v1_36'></a> |
| 18 | <h2>Changes for Version 1.36 (2016-10-24)</h2> |
| 19 | |
| 20 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -10,10 +10,11 @@ | |
| 10 | * Remove the "fusefs" command from builds that do not have the underlying |
| 11 | support enabled. |
| 12 | * TH1 enhancements: |
| 13 | <ul><li>Add <nowiki>[unversioned content]</nowiki> command.</li> |
| 14 | <li>Add <nowiki>[unversioned list]</nowiki> command.</li> |
| 15 | <li>Add project_description variable.</li> |
| 16 | </ul> |
| 17 | |
| 18 | <a name='v1_36'></a> |
| 19 | <h2>Changes for Version 1.36 (2016-10-24)</h2> |
| 20 | |
| 21 |
+1
| --- www/changes.wiki | ||
| +++ www/changes.wiki | ||
| @@ -10,10 +10,11 @@ | ||
| 10 | 10 | * Remove the "fusefs" command from builds that do not have the underlying |
| 11 | 11 | support enabled. |
| 12 | 12 | * TH1 enhancements: |
| 13 | 13 | <ul><li>Add <nowiki>[unversioned content]</nowiki> command.</li> |
| 14 | 14 | <li>Add <nowiki>[unversioned list]</nowiki> command.</li> |
| 15 | + <li>Add project_description variable.</li> | |
| 15 | 16 | </ul> |
| 16 | 17 | |
| 17 | 18 | <a name='v1_36'></a> |
| 18 | 19 | <h2>Changes for Version 1.36 (2016-10-24)</h2> |
| 19 | 20 | |
| 20 | 21 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -10,10 +10,11 @@ | |
| 10 | * Remove the "fusefs" command from builds that do not have the underlying |
| 11 | support enabled. |
| 12 | * TH1 enhancements: |
| 13 | <ul><li>Add <nowiki>[unversioned content]</nowiki> command.</li> |
| 14 | <li>Add <nowiki>[unversioned list]</nowiki> command.</li> |
| 15 | </ul> |
| 16 | |
| 17 | <a name='v1_36'></a> |
| 18 | <h2>Changes for Version 1.36 (2016-10-24)</h2> |
| 19 | |
| 20 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -10,10 +10,11 @@ | |
| 10 | * Remove the "fusefs" command from builds that do not have the underlying |
| 11 | support enabled. |
| 12 | * TH1 enhancements: |
| 13 | <ul><li>Add <nowiki>[unversioned content]</nowiki> command.</li> |
| 14 | <li>Add <nowiki>[unversioned list]</nowiki> command.</li> |
| 15 | <li>Add project_description variable.</li> |
| 16 | </ul> |
| 17 | |
| 18 | <a name='v1_36'></a> |
| 19 | <h2>Changes for Version 1.36 (2016-10-24)</h2> |
| 20 | |
| 21 |
+4
| --- www/customskin.md | ||
| +++ www/customskin.md | ||
| @@ -144,10 +144,14 @@ | ||
| 144 | 144 | respository settings and the specific page being generated. |
| 145 | 145 | |
| 146 | 146 | * **project_name** - The project_name variable is filled with the |
| 147 | 147 | name of the project as configured under the Admin/Configuration |
| 148 | 148 | menu. |
| 149 | + | |
| 150 | + * **project_description** - The project_description variable is | |
| 151 | + filled with the description of the project as configured under | |
| 152 | + the Admin/Configuration menu. | |
| 149 | 153 | |
| 150 | 154 | * **title** - The title variable holds the title of the page being |
| 151 | 155 | generated. |
| 152 | 156 | |
| 153 | 157 | The title variable is special in that it is deleted after |
| 154 | 158 |
| --- www/customskin.md | |
| +++ www/customskin.md | |
| @@ -144,10 +144,14 @@ | |
| 144 | respository settings and the specific page being generated. |
| 145 | |
| 146 | * **project_name** - The project_name variable is filled with the |
| 147 | name of the project as configured under the Admin/Configuration |
| 148 | menu. |
| 149 | |
| 150 | * **title** - The title variable holds the title of the page being |
| 151 | generated. |
| 152 | |
| 153 | The title variable is special in that it is deleted after |
| 154 |
| --- www/customskin.md | |
| +++ www/customskin.md | |
| @@ -144,10 +144,14 @@ | |
| 144 | respository settings and the specific page being generated. |
| 145 | |
| 146 | * **project_name** - The project_name variable is filled with the |
| 147 | name of the project as configured under the Admin/Configuration |
| 148 | menu. |
| 149 | |
| 150 | * **project_description** - The project_description variable is |
| 151 | filled with the description of the project as configured under |
| 152 | the Admin/Configuration menu. |
| 153 | |
| 154 | * **title** - The title variable holds the title of the page being |
| 155 | generated. |
| 156 | |
| 157 | The title variable is special in that it is deleted after |
| 158 |