Fossil SCM
Add the 'project_description' variable to TH1.
Commit
345c580d0af4b1c67b25c6da7cabce7ea1294a1d
Parent
a5fd16fe88d5952…
2 files changed
+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 |
+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 |