Skip to content

Commit d3e07f8

Browse files
authored
Created custom css style upload (#4039)
* Created custom css style upload * Created theme config that contain related css for every thame * Revert "Created theme config that contain related css for every thame" This reverts commit 1677062. * Replaced null check with ?has_content in ftl * Updated custom-css-path id in link style
1 parent dfb1d4e commit d3e07f8

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

webapp/src/main/webapp/themes/nemo/templates/head.ftl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,8 @@
3838
an individual profile page. -->
3939
${headContent!}
4040

41+
<#if customCssPath?has_content >
42+
<link id="custom-css-path" rel="stylesheet" href="${customCssPath}">
43+
</#if>
44+
4145
<link rel="shortcut icon" type="image/x-icon" href="${urls.base}/favicon.ico">

webapp/src/main/webapp/themes/tenderfoot/templates/page/partials/head.ftl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,8 @@
3131
an individual profile page. -->
3232
${headContent!}
3333

34+
<#if customCssPath?has_content >
35+
<link id="custom-css-path" rel="stylesheet" href="${customCssPath}">
36+
</#if>
37+
3438
<link rel="shortcut icon" type="image/x-icon" href="${urls.base}/favicon.ico">

webapp/src/main/webapp/themes/wilma/templates/head.ftl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,8 @@ ${headScripts.add('<script type="text/javascript" src="${urls.base}/js/tooltip/t
3939
an individual profile page. -->
4040
${headContent!}
4141

42+
<#if customCssPath?has_content >
43+
<link id="custom-css-path" rel="stylesheet" href="${customCssPath}">
44+
</#if>
45+
4246
<link rel="shortcut icon" type="image/x-icon" href="${urls.base}/favicon.ico">

0 commit comments

Comments
 (0)