Bug 35392: Fix HTML in translatable string
Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
8acdc1e8e9
commit
fcacfaaafa
|
|
@ -89,9 +89,16 @@ export default {
|
|||
success => {
|
||||
let message = ""
|
||||
success.jobs.forEach((job, i) => {
|
||||
message += this.$__(
|
||||
'<li>Job for uploaded file has been queued, <a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=%s" target="_blank">click here</a> to check its progress.</li>'
|
||||
).format(job.job_id)
|
||||
message +=
|
||||
"<li>" +
|
||||
this.$__(
|
||||
"Job for uploaded file has been queued"
|
||||
) +
|
||||
'. <a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=' +
|
||||
job.job_id +
|
||||
'" target="_blank">' +
|
||||
this.$__("Check job progress") +
|
||||
".</a></li>"
|
||||
})
|
||||
this.setMessage(message, true)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -245,9 +245,16 @@ export default {
|
|||
success => {
|
||||
let message = ""
|
||||
success.jobs.forEach((job, i) => {
|
||||
message += this.$__(
|
||||
'<li>Job for report type <strong>%s</strong> has been queued, <a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=%s" target="_blank">click here</a> to check its progress.</li>'
|
||||
).format(job.report_type, job.job_id)
|
||||
message +=
|
||||
"<li>" +
|
||||
this.$__(
|
||||
"Job for report type <strong>%s</strong> has been queued"
|
||||
).format(job.report_type) +
|
||||
'. <a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=' +
|
||||
job.job_id +
|
||||
'" target="_blank">' +
|
||||
this.$__("Check job progress") +
|
||||
".</a></li>"
|
||||
})
|
||||
this.setMessage(message, true)
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue