mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
At Admin Panel / Layout: Text below custom login logo. Can have markdown formatting.
Thanks to xet7 !
This commit is contained in:
parent
41a8e79e0e
commit
7223d6e750
6 changed files with 18 additions and 0 deletions
|
|
@ -36,6 +36,10 @@ template(name="userFormsLayout")
|
||||||
unless currentSetting.customLoginLogoImageUrl
|
unless currentSetting.customLoginLogoImageUrl
|
||||||
img(src="{{pathFor '/wekan-logo.svg'}}" alt="" width="300" height="auto")
|
img(src="{{pathFor '/wekan-logo.svg'}}" alt="" width="300" height="auto")
|
||||||
br
|
br
|
||||||
|
if currentSetting.textBelowCustomLoginLogo
|
||||||
|
+viewer
|
||||||
|
| {{currentSetting.textBelowCustomLoginLogo}}
|
||||||
|
br
|
||||||
section.auth-dialog
|
section.auth-dialog
|
||||||
if isLoading
|
if isLoading
|
||||||
+loader
|
+loader
|
||||||
|
|
|
||||||
|
|
@ -192,6 +192,10 @@ template(name='layoutSettings')
|
||||||
.title {{_ 'custom-login-logo-link-url'}}
|
.title {{_ 'custom-login-logo-link-url'}}
|
||||||
.form-group
|
.form-group
|
||||||
input.wekan-form-control#custom-login-logo-link-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoLinkUrl}}")
|
input.wekan-form-control#custom-login-logo-link-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoLinkUrl}}")
|
||||||
|
li.layout-form
|
||||||
|
.title {{_ 'text-below-custom-login-logo'}}
|
||||||
|
.form-group
|
||||||
|
textarea#text-below-custom-login-logo.wekan-form-control= currentSetting.textBelowCustomLoginLogo
|
||||||
li.layout-form
|
li.layout-form
|
||||||
.title {{_ 'custom-top-left-corner-logo-image-url'}}
|
.title {{_ 'custom-top-left-corner-logo-image-url'}}
|
||||||
.form-group
|
.form-group
|
||||||
|
|
|
||||||
|
|
@ -173,6 +173,9 @@ BlazeComponent.extendComponent({
|
||||||
const customLoginLogoLinkUrl = $('#custom-login-logo-link-url')
|
const customLoginLogoLinkUrl = $('#custom-login-logo-link-url')
|
||||||
.val()
|
.val()
|
||||||
.trim();
|
.trim();
|
||||||
|
const textBelowCustomLoginLogo = $('#text-below-custom-login-logo')
|
||||||
|
.val()
|
||||||
|
.trim();
|
||||||
const customTopLeftCornerLogoImageUrl = $(
|
const customTopLeftCornerLogoImageUrl = $(
|
||||||
'#custom-top-left-corner-logo-image-url',
|
'#custom-top-left-corner-logo-image-url',
|
||||||
)
|
)
|
||||||
|
|
@ -195,6 +198,7 @@ BlazeComponent.extendComponent({
|
||||||
hideLogo: hideLogoChange,
|
hideLogo: hideLogoChange,
|
||||||
customLoginLogoImageUrl,
|
customLoginLogoImageUrl,
|
||||||
customLoginLogoLinkUrl,
|
customLoginLogoLinkUrl,
|
||||||
|
textBelowCustomLoginLogo,
|
||||||
customTopLeftCornerLogoImageUrl,
|
customTopLeftCornerLogoImageUrl,
|
||||||
customTopLeftCornerLogoLinkUrl,
|
customTopLeftCornerLogoLinkUrl,
|
||||||
displayAuthenticationMethod,
|
displayAuthenticationMethod,
|
||||||
|
|
|
||||||
|
|
@ -518,6 +518,7 @@
|
||||||
"custom-top-left-corner-logo-link-url": "Custom Top Left Corner Logo Link URL",
|
"custom-top-left-corner-logo-link-url": "Custom Top Left Corner Logo Link URL",
|
||||||
"custom-login-logo-image-url": "Custom Login Logo Image URL",
|
"custom-login-logo-image-url": "Custom Login Logo Image URL",
|
||||||
"custom-login-logo-link-url": "Custom Login Logo Link URL",
|
"custom-login-logo-link-url": "Custom Login Logo Link URL",
|
||||||
|
"text-below-custom-login-logo": "Text below Custom Login Logo",
|
||||||
"username": "Username",
|
"username": "Username",
|
||||||
"view-it": "View it",
|
"view-it": "View it",
|
||||||
"warn-list-archived": "warning: this card is in an list at Archive",
|
"warn-list-archived": "warning: this card is in an list at Archive",
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,10 @@ Settings.attachSchema(
|
||||||
type: String,
|
type: String,
|
||||||
optional: true,
|
optional: true,
|
||||||
},
|
},
|
||||||
|
textBelowCustomLoginLogo: {
|
||||||
|
type: String,
|
||||||
|
optional: true,
|
||||||
|
},
|
||||||
customTopLeftCornerLogoImageUrl: {
|
customTopLeftCornerLogoImageUrl: {
|
||||||
type: String,
|
type: String,
|
||||||
optional: true,
|
optional: true,
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ Meteor.publish('setting', () => {
|
||||||
hideLogo: 1,
|
hideLogo: 1,
|
||||||
customLoginLogoImageUrl: 1,
|
customLoginLogoImageUrl: 1,
|
||||||
customLoginLogoLinkUrl: 1,
|
customLoginLogoLinkUrl: 1,
|
||||||
|
textBelowCustomLoginLogo: 1,
|
||||||
customTopLeftCornerLogoImageUrl: 1,
|
customTopLeftCornerLogoImageUrl: 1,
|
||||||
customTopLeftCornerLogoLinkUrl: 1,
|
customTopLeftCornerLogoLinkUrl: 1,
|
||||||
customHTMLafterBodyStart: 1,
|
customHTMLafterBodyStart: 1,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue