Skip to content

Commit

Permalink
SAK-50687 Grader: Launch instructor/evaluator attachments in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
hornersa committed Nov 15, 2024
1 parent fcebf08 commit 8a9cb0d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const graderRenderingMixin = Base => class extends Base {
<div class="fw-bold mb-2">${this._i18n.reviewer_attachments}</div>
${pr.attachmentUrlList.map((url, i) => html`
<div class="feedback-attachment">
<a href="${url}" title="${this._i18n.feedback_attachment_tooltip}">${this._i18n.attachment} ${i + 1}</a>
<a href="${url}" title="${this._i18n.feedback_attachment_tooltip}" target="_blank">${this._i18n.attachment} ${i + 1}</a>
</div>
`)}
` : nothing}
Expand Down Expand Up @@ -592,7 +592,7 @@ export const graderRenderingMixin = Base => class extends Base {
${this._submission.feedbackAttachments.map(att => html`
<div class="feedback-attachments-row">
<div class="feedback-attachment">
<a href="${att.url}" title="${this._i18n.feedback_attachment_tooltip}">
<a href="${att.url}" title="${this._i18n.feedback_attachment_tooltip}" target="_blank">
<span>${att.name}</span>
</a>
</div>
Expand Down

0 comments on commit 8a9cb0d

Please sign in to comment.