Skip to content

Commit

Permalink
Merge pull request #166 from DigiKlausur/open_submitted_html_in_new_tab
Browse files Browse the repository at this point in the history
Open html version of submission in new tab
  • Loading branch information
tmetzl authored Sep 15, 2023
2 parents 62cf01d + 0f86f55 commit 53ced77
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/exam-menubar/src/submit.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,12 @@ export class Submit {
body.append($("<pre/>").text(data["hashcode"]));

body.append(
$("<p/>")
.append("You can verify your submission ")
.append($("<a/>").attr("href", hashcode_html).text("here"))
.append(".")
$("<h4/>").append(
$("<a/>")
.attr("href", hashcode_html)
.attr("target", "_blank")
.text("Click here to view the HTML version of your submitted exam.")
)
);
}

Expand Down

0 comments on commit 53ced77

Please sign in to comment.