added target="_blank" to log files

This commit is contained in:
2023-12-17 22:47:44 +01:00
parent d988afb766
commit b8d134251e

View File

@@ -251,7 +251,7 @@
const Info = document.createElement('td')
Info.style.backgroundColor = rowColor
const logFile = pkg.status === 'failed' ? '<a href="https://alhp.dev/logs/' + pkg.repo.slice(pkg.repo.indexOf('-') + 1) + '/' + pkg.pkgbase + '.log" class="text-decoration-none text-white-50"><i class="fa fa-file-text fa-lg"></i></a>' : ''
const logFile = pkg.status === 'failed' ? '<a href="https://alhp.dev/logs/' + pkg.repo.slice(pkg.repo.indexOf('-') + 1) + '/' + pkg.pkgbase + '.log" class="text-decoration-none text-white-50" target="_blank"><i class="fa fa-file-text fa-lg"></i></a>' : ''
const aw = '<a href="https://archlinux.org/packages/?q=' + pkg.pkgbase + '" target="_blank" title="ArchWeb" class="text-decoration-none text-white-50 fw-bold">AW</a>'
let info = ''
if (pkg.build_date && pkg.peak_mem) {