mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 05:55:09 +02:00
EZQMS-951: Server branding (#5858)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
@@ -59,7 +59,7 @@ async function updateSubIssues (
|
||||
*/
|
||||
export async function issueHTMLPresenter (doc: Doc, control: TriggerControl): Promise<string> {
|
||||
const issue = doc as Issue
|
||||
const front = getMetadata(serverCore.metadata.FrontUrl) ?? ''
|
||||
const front = control.branding?.front ?? getMetadata(serverCore.metadata.FrontUrl) ?? ''
|
||||
const path = `${workbenchId}/${control.workspace.workspaceUrl}/${trackerId}/${issue.identifier}`
|
||||
const link = concatLink(front, path)
|
||||
return `<a href="${link}">${issue.identifier}</a> ${issue.title}`
|
||||
|
||||
Reference in New Issue
Block a user