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>
(cherry picked from commit fcacfaaafa
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
8c53454ab7
commit
5d19fdae29
2 changed files with 20 additions and 6 deletions
|
@ -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 a new issue