diff --git a/static/app.js b/static/app.js index 9e38427..1425f0a 100644 --- a/static/app.js +++ b/static/app.js @@ -153,7 +153,10 @@ function renderPaper(p) { else if (p.arxiv) links.push(`πŸ“‹ arXiv`); // Show translation button for ALL papers with arxiv or pdf const paperId = p.arxiv || (p.pdf ? p.pdf.split('/').pop().replace('.pdf','') : null); - if (paperId) links.push(`πŸ“– θ―‘ζ–‡`); + if (paperId) { + const transUrl = `/papers/translated/${paperId}.pdf`; + links.push(``); + } return `
${p.year||'β€”'}
${p.title}
${p.authors||''}${p.venue?`${p.venue}`:''}${tags}
diff --git a/static/index.html b/static/index.html index 1cfc950..27ea49f 100644 --- a/static/index.html +++ b/static/index.html @@ -185,7 +185,10 @@ function renderPaper(p) { else if (p.arxiv) links.push(`πŸ“‹ arXiv`); // Show translation button for ALL papers with arxiv or pdf const paperId = p.arxiv || (p.pdf ? p.pdf.split('/').pop().replace('.pdf','') : null); - if (paperId) links.push(`πŸ“– θ―‘ζ–‡`); + if (paperId) { + const transUrl = `/papers/translated/${paperId}.pdf`; + links.push(``); + } return `
${p.year||'β€”'}
${p.title}
${p.authors||''}${p.venue?`${p.venue}`:''}${tags}