mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Better translation: Target URL to Link URL.
This commit is contained in:
parent
05e3fc31b4
commit
3fc80e1145
7 changed files with 21 additions and 21 deletions
|
|
@ -25,10 +25,10 @@ template(name="header")
|
|||
the list of all boards.
|
||||
unless currentSetting.hideLogo
|
||||
if currentSetting.customTopLeftCornerLogoImageUrl
|
||||
if currentSetting.customTopLeftCornerLogoTargetUrl
|
||||
a(href="{{currentSetting.customTopLeftCornerLogoTargetUrl}}")
|
||||
if currentSetting.customTopLeftCornerLogoLinkUrl
|
||||
a(href="{{currentSetting.customTopLeftCornerLogoLinkUrl}}")
|
||||
img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="27" width="auto" margin="0" padding="0")
|
||||
unless currentSetting.customTopLeftCornerLogoTargetUrl
|
||||
unless currentSetting.customTopLeftCornerLogoLinkUrl
|
||||
img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="27" width="auto" margin="0" padding="0")
|
||||
unless currentSetting.customTopLeftCornerLogoImageUrl
|
||||
img(src="{{pathFor '/logo-header.png'}}" alt="")
|
||||
|
|
|
|||
|
|
@ -26,11 +26,11 @@ template(name="userFormsLayout")
|
|||
unless currentSetting.hideLogo
|
||||
h1.at-form-landing-logo
|
||||
if currentSetting.customLoginLogoImageUrl
|
||||
if currentSetting.customLoginLogoTargetUrl
|
||||
a(href="{{currentSetting.customLoginLogoTargetUrl}}")
|
||||
if currentSetting.customLoginLogoLinkUrl
|
||||
a(href="{{currentSetting.customLoginLogoLinkUrl}}")
|
||||
img(src="{{currentSetting.customLoginLogoImageUrl}}" width="300" height="auto")
|
||||
br
|
||||
unless currentSetting.customLoginLogoTargetUrl
|
||||
unless currentSetting.customLoginLogoLinkUrl
|
||||
img(src="{{currentSetting.customLoginLogoImageUrl}}" width="300" height="auto")
|
||||
br
|
||||
unless currentSetting.customLoginLogoImageUrl
|
||||
|
|
|
|||
|
|
@ -189,17 +189,17 @@ template(name='layoutSettings')
|
|||
.form-group
|
||||
input.wekan-form-control#custom-login-logo-image-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoImageUrl}}")
|
||||
li.layout-form
|
||||
.title {{_ 'custom-login-logo-target-url'}}
|
||||
.title {{_ 'custom-login-logo-link-url'}}
|
||||
.form-group
|
||||
input.wekan-form-control#custom-login-logo-target-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoTargetUrl}}")
|
||||
input.wekan-form-control#custom-login-logo-link-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoLinkUrl}}")
|
||||
li.layout-form
|
||||
.title {{_ 'custom-top-left-corner-logo-image-url'}}
|
||||
.form-group
|
||||
input.wekan-form-control#custom-top-left-corner-logo-image-url(type="text", placeholder="" value="{{currentSetting.customTopLeftCornerLogoImageUrl}}")
|
||||
li.layout-form
|
||||
.title {{_ 'custom-top-left-corner-logo-target-url'}}
|
||||
.title {{_ 'custom-top-left-corner-logo-link-url'}}
|
||||
.form-group
|
||||
input.wekan-form-control#custom-top-left-corner-logo-target-url(type="text", placeholder="" value="{{currentSetting.customTopLeftCornerLogoTargetUrl}}")
|
||||
input.wekan-form-control#custom-top-left-corner-logo-link-url(type="text", placeholder="" value="{{currentSetting.customTopLeftCornerLogoLinkUrl}}")
|
||||
li
|
||||
button.js-save-layout.primary {{_ 'save'}}
|
||||
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ BlazeComponent.extendComponent({
|
|||
const customLoginLogoImageUrl = $('#custom-login-logo-image-url')
|
||||
.val()
|
||||
.trim();
|
||||
const customLoginLogoTargetUrl = $('#custom-login-logo-target-url')
|
||||
const customLoginLogoLinkUrl = $('#custom-login-logo-link-url')
|
||||
.val()
|
||||
.trim();
|
||||
const customTopLeftCornerLogoImageUrl = $(
|
||||
|
|
@ -178,8 +178,8 @@ BlazeComponent.extendComponent({
|
|||
)
|
||||
.val()
|
||||
.trim();
|
||||
const customTopLeftCornerLogoTargetUrl = $(
|
||||
'#custom-top-left-corner-logo-target-url',
|
||||
const customTopLeftCornerLogoLinkUrl = $(
|
||||
'#custom-top-left-corner-logo-link-url',
|
||||
)
|
||||
.val()
|
||||
.trim();
|
||||
|
|
@ -194,9 +194,9 @@ BlazeComponent.extendComponent({
|
|||
productName,
|
||||
hideLogo: hideLogoChange,
|
||||
customLoginLogoImageUrl,
|
||||
customLoginLogoTargetUrl,
|
||||
customLoginLogoLinkUrl,
|
||||
customTopLeftCornerLogoImageUrl,
|
||||
customTopLeftCornerLogoTargetUrl,
|
||||
customTopLeftCornerLogoLinkUrl,
|
||||
displayAuthenticationMethod,
|
||||
defaultAuthenticationMethod,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -515,9 +515,9 @@
|
|||
"upload-avatar": "Upload an avatar",
|
||||
"uploaded-avatar": "Uploaded an avatar",
|
||||
"custom-top-left-corner-logo-image-url": "Custom Top Left Corner Logo Image URL",
|
||||
"custom-top-left-corner-logo-target-url": "Custom Top Left Corner Logo Target 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-target-url": "Custom Login Logo Target URL",
|
||||
"custom-login-logo-link-url": "Custom Login Logo Link URL",
|
||||
"username": "Username",
|
||||
"view-it": "View it",
|
||||
"warn-list-archived": "warning: this card is in an list at Archive",
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ Settings.attachSchema(
|
|||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
customLoginLogoTargetUrl: {
|
||||
customLoginLogoLinkUrl: {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
|
|
@ -57,7 +57,7 @@ Settings.attachSchema(
|
|||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
customTopLeftCornerLogoTargetUrl: {
|
||||
customTopLeftCornerLogoLinkUrl: {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ Meteor.publish('setting', () => {
|
|||
productName: 1,
|
||||
hideLogo: 1,
|
||||
customLoginLogoImageUrl: 1,
|
||||
customLoginLogoTargetUrl: 1,
|
||||
customLoginLogoLinkUrl: 1,
|
||||
customTopLeftCornerLogoImageUrl: 1,
|
||||
customTopLeftCornerLogoTargetUrl: 1,
|
||||
customTopLeftCornerLogoLinkUrl: 1,
|
||||
customHTMLafterBodyStart: 1,
|
||||
customHTMLbeforeBodyEnd: 1,
|
||||
displayAuthenticationMethod: 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue